From db77a0a323d430d826107472301faab931a23b01 Mon Sep 17 00:00:00 2001 From: shaoying Date: Wed, 11 Mar 2020 01:03:42 +0800 Subject: [PATCH] opt some --- plugin/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/table.js b/plugin/table.js index d00593c0..52bca0f6 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -49,7 +49,7 @@ Volcanos("ondetail", {help: "组件详情", list: ["选择", "编辑", "删除", can.core.List(msg.append, function(key) {sub.Option(key, msg[key][index])}) can.run(event, ["action", "modify", key, event.target.value, text, can.Option("id")||msg.Ids(index)], function(msg) { td.innerHTML = event.target.value; - can.user.toast("修改成功") + can.user.toast(msg.Result()||"修改成功") }, true) }}}]).first; input.focus();