From 6d86ad3ea52ca59d49d3da127ef7bfa9215c7feb Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期三, 18 十二月 2024 12:01:30 +0800
Subject: [PATCH] 1

---
 packageBookService/pages/bookServices/examination/examination.js |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/examination.js b/packageBookService/pages/bookServices/examination/examination.js
index 11a7fd1..536cd7a 100644
--- a/packageBookService/pages/bookServices/examination/examination.js
+++ b/packageBookService/pages/bookServices/examination/examination.js
@@ -2332,10 +2332,14 @@
   },
   // 鍔犲叆鐝骇
   joinClass(e) {
+    wx.showLoading({
+      title: '鍔犺浇涓�'
+    })
     const data = {
       refCode: e.detail.value
     }
     app.MG.identity.joinGroupByRefCode(data).then((res) => {
+      wx.hideLoading()
       if (res == '缁勪笉瀛樺湪') {
         wx.showToast({
           icon: 'error',
@@ -2449,12 +2453,11 @@
         this.setinteractionInfo(true)
       } else {
         // 鍋氬畬浜嗭紝娌″姞鍏ョ彮绾�
-        this.setData({
-          isShowDialog: true
-        })
         this.setinteractionInfo(false)
       }
-
+      this.setData({
+        isShowDialog: true
+      })
     }
     this.setData({
       submitStatus: true

--
Gitblit v1.9.1