mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
opt some
This commit is contained in:
parent
6452d55375
commit
03bf261bb4
@ -31,7 +31,6 @@
|
|||||||
"bookmarks",
|
"bookmarks",
|
||||||
"notifications",
|
"notifications",
|
||||||
"contextMenus",
|
"contextMenus",
|
||||||
"*://localhost/*",
|
"http://localhost:9020/*"
|
||||||
"*://localhost:9020/*"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,14 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
|||||||
if (value.path.startsWith("/local")) { return }
|
if (value.path.startsWith("/local")) { return }
|
||||||
value.path.endsWith("/")? can.path.Push(value): can.list.push(value)
|
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"}})
|
can.page.Modify(can, can._action, {style: {display: "none"}})
|
||||||
typeof cb == "function" && cb()
|
typeof cb == "function" && cb()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user