mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04: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: {
|
"operate": {name: "运维群", storm: {
|
||||||
"relay": {name: "relay", index: [
|
"relay": {name: "relay", index: [
|
||||||
"aaa.totp.get",
|
"aaa.totp",
|
||||||
"web.route",
|
"web.route",
|
||||||
"web.space",
|
"web.space",
|
||||||
"web.dream",
|
"web.dream",
|
||||||
|
@ -137,8 +137,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
|||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
_refresh: function(can, msg) {
|
_refresh: function(can, msg) {
|
||||||
var refresh = msg.Option("_refresh") || can.Conf("feature")["_refresh"]
|
can.Timer(500, function(timer) {
|
||||||
can.Timer({interval: 500, length: parseInt(refresh)}, function(timer) {
|
|
||||||
can.run({})
|
can.run({})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user