From f85d14051b28c99185bfda4546d4b185511dd6d2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 30 六月 2020 16:25:47 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/user/user.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/user/user.js b/src/main/webapp/static/js/user/user.js
index 32f7177..9fb1f89 100644
--- a/src/main/webapp/static/js/user/user.js
+++ b/src/main/webapp/static/js/user/user.js
@@ -62,8 +62,7 @@
         var data = tableData[index];
         data[this.name] = obj.elem.checked?1:0;
         http.post(baseUrl+"/user/edit/auth", {id: data.id, status: data[this.name]}, function (res) {
-            $(".layui-laypage-btn")[0].click();
-            layer.msg("鎿嶄綔鎴愬姛")
+            layer.msg(res.msg);
         })
     })
 

--
Gitblit v1.9.1