mirror of
https://shylinux.com/x/volcanos
synced 2025-04-29 18:29:21 +08:00
opt some
This commit is contained in:
parent
51dad23f24
commit
46a55e0725
@ -57,6 +57,7 @@ Volcanos("onimport", {help: "导入数据", _init: function(can, msg, cb, target
|
|||||||
refer: function(can, data, target) {
|
refer: function(can, data, target) {
|
||||||
can.page.Select(can, target, html.A, function(item) {
|
can.page.Select(can, target, html.A, function(item) {
|
||||||
item.onclick = function(event) {
|
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)
|
can.run(event, [ctx.ACTION, mdb.CREATE, mdb.TYPE, "refer", mdb.NAME, item.dataset.name, mdb.TEXT, item.href], null, true)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user