mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt _refresh
This commit is contained in:
parent
0299f62448
commit
aece57d66c
2
frame.js
2
frame.js
@ -234,7 +234,7 @@ Volcanos("onengine", {help: "解析引擎", list: [], _init: function(can, meta,
|
||||
}},
|
||||
"operate": {name: "运维群", storm: {
|
||||
"relay": {name: "relay", index: [
|
||||
"aaa.totp.get",
|
||||
"aaa.totp",
|
||||
"web.route",
|
||||
"web.space",
|
||||
"web.dream",
|
||||
|
@ -137,8 +137,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
return true
|
||||
},
|
||||
_refresh: function(can, msg) {
|
||||
var refresh = msg.Option("_refresh") || can.Conf("feature")["_refresh"]
|
||||
can.Timer({interval: 500, length: parseInt(refresh)}, function(timer) {
|
||||
can.Timer(500, function(timer) {
|
||||
can.run({})
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user