From c0632b2fb5092cadc91da18d1b9979ec690fdfb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 9 Nov 2020 10:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/views/@default/servers/components/waf/ipadmin/index.js | 4 +++- .../@default/servers/components/waf/ipadmin/provinces.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/views/@default/servers/components/waf/ipadmin/index.js b/web/views/@default/servers/components/waf/ipadmin/index.js index 39500fec..7de05ca7 100644 --- a/web/views/@default/servers/components/waf/ipadmin/index.js +++ b/web/views/@default/servers/components/waf/ipadmin/index.js @@ -34,7 +34,9 @@ Tea.context(function () { } this.success = function () { - teaweb.successToast("保存成功") + teaweb.success("保存成功", function () { + teaweb.reload() + }) } diff --git a/web/views/@default/servers/components/waf/ipadmin/provinces.js b/web/views/@default/servers/components/waf/ipadmin/provinces.js index ae9e9a43..9c36ef57 100644 --- a/web/views/@default/servers/components/waf/ipadmin/provinces.js +++ b/web/views/@default/servers/components/waf/ipadmin/provinces.js @@ -18,7 +18,9 @@ Tea.context(function () { } this.success = function () { - teaweb.successToast("保存成功") + teaweb.success("保存成功", function () { + teaweb.reload() + }) } /**