mirror of
https://shylinux.com/x/volcanos
synced 2025-04-27 09:38:28 +08:00
opt some
This commit is contained in:
parent
9b9f068924
commit
e83c6acc82
@ -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"? ('<a href="'+can.user.Share(can, {pod: value})+'" target="_blank">'+value+'</a>'): 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) }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user