From eeb842e1e4247a5a4384512580e7bb4c6b77d8fd Mon Sep 17 00:00:00 2001 From: shaoying Date: Sat, 12 Nov 2022 09:04:32 +0800 Subject: [PATCH] opt some --- panel/footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/footer.js b/panel/footer.js index 441f1d03..a7695d43 100644 --- a/panel/footer.js +++ b/panel/footer.js @@ -4,7 +4,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, target) { can.onimport._toast(can, msg, target) can.onimport._command(can, msg, target) }, - _title: function(can, msg, target) { can.user.isMobile || can.core.List(msg.result, function(item) { can.page.Append(can, target, [{view: [chat.TITLE, html.DIV, item], title: "联系站长"}]) }) }, + _title: function(can, msg, target) { can.user.isMobile || can.core.List(can.base.getValid(msg.result, ["shylinuxc@gmail.com"]), function(item) { can.page.Append(can, target, [{view: [chat.TITLE, html.DIV, item], title: "联系站长"}]) }) }, _state: function(can, msg, target) { can.core.List(can.base.Obj(can.Conf(chat.STATE)||msg.Option(chat.STATE), ["ntip", "ncmd"]).reverse(), function(item) { can.page.Append(can, target, [{view: [can.base.join([chat.STATE, item]), html.DIV, can.Conf(item)], list: [