From aece57d66cb8192eb43a8ad06f1fb8d6e2810c09 Mon Sep 17 00:00:00 2001 From: shaoying Date: Fri, 9 Oct 2020 11:52:52 +0800 Subject: [PATCH] opt _refresh --- frame.js | 2 +- plugin/table.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frame.js b/frame.js index b33d615c..9e1040e5 100644 --- a/frame.js +++ b/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", diff --git a/plugin/table.js b/plugin/table.js index 61f3de43..2f86cca9 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -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({}) }) },