mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
6452d55375
commit
03bf261bb4
@ -31,7 +31,6 @@
|
||||
"bookmarks",
|
||||
"notifications",
|
||||
"contextMenus",
|
||||
"*://localhost/*",
|
||||
"*://localhost:9020/*"
|
||||
"http://localhost:9020/*"
|
||||
]
|
||||
}
|
||||
|
@ -10,7 +10,14 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
if (value.path.startsWith("/local")) { return }
|
||||
value.path.endsWith("/")? can.path.Push(value): can.list.push(value)
|
||||
})
|
||||
can.onappend.table(can, can.ui.project, "table", can.path)
|
||||
can.onappend.table(can, can.ui.project, "table", can.path, function(value, key, index, line, array) {
|
||||
return {type: "td", inner: value, click: function(event) {
|
||||
// can.Option(key, value) && can.run(event)
|
||||
can.sup.onaction.change(event, can.sup, key, value, function(msg) {
|
||||
can.run(event)
|
||||
})
|
||||
}}
|
||||
})
|
||||
|
||||
can.page.Modify(can, can._action, {style: {display: "none"}})
|
||||
typeof cb == "function" && cb()
|
||||
|
Loading…
x
Reference in New Issue
Block a user