From 78abf035393f948c40ff2a06f146fb5a1c625a11 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 08 十一月 2022 10:34:27 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/cstmr/cstmr_more.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/cstmr/cstmr_more.html b/src/main/webapp/views/cstmr/cstmr_more.html
index 8240b4c..d7b5e3b 100644
--- a/src/main/webapp/views/cstmr/cstmr_more.html
+++ b/src/main/webapp/views/cstmr/cstmr_more.html
@@ -360,6 +360,7 @@
                             layer.msg("璇烽�夋嫨鑷冲皯涓�鏉℃暟鎹�", {icon: 3});
                             return false;
                         }
+                        let loadIndex = layer.load(2);
                         $.ajax({
                             url: baseUrl+"/cstmr/followers/add/auth",
                             headers: {'token': localStorage.getItem('token')},
@@ -372,6 +373,7 @@
                             method: 'POST',
                             success: function (res) {
                                 if (res.code === 200){
+                                    layer.close(loadIndex);
                                     initFollowers(cstmrId);
                                 } else if (res.code === 403){
                                     top.location.href = baseUrl+"/";

--
Gitblit v1.9.1