From 8aeddcf766df9f7e3061d4d098b57afdf53db896 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 19 十二月 2024 15:28:07 +0800
Subject: [PATCH] 骨架屏及选择选中后自动跳转

---
 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