From 46a55e072584f4f06b04c220db2b0181af2b2653 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sun, 19 Jun 2022 20:02:06 +0800 Subject: [PATCH] opt some --- plugin/local/wiki/word.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/local/wiki/word.js b/plugin/local/wiki/word.js index fd5422ac..454b92a2 100644 --- a/plugin/local/wiki/word.js +++ b/plugin/local/wiki/word.js @@ -57,6 +57,7 @@ Volcanos("onimport", {help: "导入数据", _init: function(can, msg, cb, target refer: function(can, data, target) { can.page.Select(can, target, html.A, function(item) { item.onclick = function(event) { + can.request(event, kit.Dict(ice.MSG_HANDLE, ice.TRUE)) can.run(event, [ctx.ACTION, mdb.CREATE, mdb.TYPE, "refer", mdb.NAME, item.dataset.name, mdb.TEXT, item.href], null, true) } })