From 3226ba9efd640ec6ed1a2412442e10d96155c072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 9 Apr 2021 19:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BF=E9=97=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Auth.php | 2 +- app/admin/view/auth/apply.html | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/admin/controller/Auth.php b/app/admin/controller/Auth.php index dbf3f57f0..2e0ea6cea 100644 --- a/app/admin/controller/Auth.php +++ b/app/admin/controller/Auth.php @@ -110,7 +110,7 @@ class Auth extends Controller $this->app->db->name('SystemAuthNode')->where($map)->delete(); $this->app->db->name('SystemAuthNode')->insertAll($data); sysoplog('系统权限管理', "配置系统权限[{$map['auth']}]授权成功"); - $this->success('权限授权修改成功!', 'javascript:history.back()'); + $this->success('访问权限修改成功!', 'javascript:history.back()'); } else { $this->title = '权限配置节点'; $this->_form($this->table, 'apply'); diff --git a/app/admin/view/auth/apply.html b/app/admin/view/auth/apply.html index e73a3fc7e..72232af32 100644 --- a/app/admin/view/auth/apply.html +++ b/app/admin/view/auth/apply.html @@ -34,11 +34,9 @@ }); return childrens; }; - this.getData = function (that, index) { - index = $.msg.loading(); + this.getData = function (that) { $.form.load('{:url("apply")}', {id: '{$vo.id}', action: 'get'}, 'post', function (ret) { - that.data = that.renderChildren(ret.data, 1); - return $.msg.close(index), that.showTree(), false; + return (that.data = that.renderChildren(ret.data, 1)), that.showTree(), false; }); }; this.showTree = function () {