1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
harveyshao 2022-04-09 23:42:47 +08:00
parent c277f85ad2
commit 2a698564f3

View File

@ -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])
})