mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
c277f85ad2
commit
2a698564f3
@ -6,10 +6,11 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
can.onimport._cli(can, msg, target)
|
||||
can.base.isFunc(cb) && cb(msg)
|
||||
|
||||
history.length > 2 && can.core.Timer(100, function() {
|
||||
window.webview && can.setHeaderMenu(["后退"], function(event, button, list) {
|
||||
can.core.Timer(100, function() {
|
||||
window.webview && can.setHeaderMenu(["后退", "列表"], function(event, button, list) {
|
||||
switch (button) {
|
||||
case "后退": history.back(); break
|
||||
case "列表": window.menu(); break
|
||||
}
|
||||
can.core.CallFunc([can.onaction, list[0]], [can, button])
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user