1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
harveyshao 2022-06-19 20:02:06 +08:00
parent 51dad23f24
commit 46a55e0725

View File

@ -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)
}
})