From e0429e1156fc3c3cee4ce4f6c559d003e8cf7752 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期六, 25 十一月 2023 21:06:53 +0800
Subject: [PATCH] 11.27

---
 cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js b/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js
index fbfd161..441e0cb 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js
@@ -38,7 +38,9 @@
             }}
     ];
 };
-
+TQuestion.close = function() {
+    parent.layer.close(window.parent.TQuestion.layerIndex);
+}
 /**
  * 检查是否选中
  */
@@ -61,6 +63,7 @@
  * 点击添加
  */
 TQuestion.openAdd = function () {
+
     var index = layer.open({
         type: 2,
         title: '添加分类',
@@ -360,6 +363,7 @@
                 Feng.error("当前手机号 已被注册")
             }else{
                 window.parent.TQuestion.table.refresh();
+                layer.closeAll('page');
                 TQuestion.close();
                 Feng.success("添加成功");
             }
@@ -537,9 +541,7 @@
     TQuestion.table.refresh({query: queryData});
 };
 
-TQuestion.close = function() {
-    parent.layer.close(window.parent.TQuestion.layerIndex);
-}
+
 /**
  * 重置搜索
  */

--
Gitblit v1.7.1