From e83c6acc82415438bd20f8b03c36bd611225526e Mon Sep 17 00:00:00 2001 From: shaoying Date: Tue, 5 Jan 2021 20:02:03 +0800 Subject: [PATCH] opt some --- plugin/local/team/plan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/local/team/plan.js b/plugin/local/team/plan.js index 37ac2366..0e78d88a 100644 --- a/plugin/local/team/plan.js +++ b/plugin/local/team/plan.js @@ -88,7 +88,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg, }, can.ui.display) can.page.Appends(can, can.ui.profile, [{th: ["key", "value"]}]) - can.core.Item(task, function(key, value) { can.page.Append(can, can.ui.profile, [{td: [key, value], + can.core.Item(task, function(key, value) { can.page.Append(can, can.ui.profile, [{td: [key, key == "pod"? (''+value+''): value], onclick: function(event) { if (event.target.type == "button") { var name = event.target.name var cb = can.onaction[name]; if (typeof cb == "function") { return cb(event, can, name) }