1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
harveyshao 2022-11-19 22:54:58 +08:00
parent c441f340ae
commit 87b862d1c4

View File

@ -6,8 +6,8 @@ Volcanos(chat.ONIMPORT, {_process: function(can, msg) {
_replace: function(can, msg, _arg) { location.replace(_arg); return true }, _replace: function(can, msg, _arg) { location.replace(_arg); return true },
_history: function(can, msg) { history.back(); return true }, _history: function(can, msg) { history.back(); return true },
_confirm: function(can, msg, _arg) { can.user.confirm(_arg) && can.runAction(can.request({}, msg), "confirm"); return true }, _confirm: function(can, msg, _arg) { can.user.confirm(_arg) && can.runAction(can.request({}, msg), "confirm"); return true },
_refresh: function(can, msg) { _refresh: function(can, msg, _arg) {
can.core.Timer(parseInt(msg.Option("_delay")||"300"), function() { can.core.Timer(parseInt(_arg||"30"), function() {
can.Update(can.request({}, {_count: parseInt(msg.Option("_count")||"3")-1})) can.Update(can.request({}, {_count: parseInt(msg.Option("_count")||"3")-1}))
}); return true }); return true
}, },