wangxy 2 ماه پیش
والد
کامیت
5eafe0d220
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      pages/client/Kaoshi/exam.vue

+ 7 - 0
pages/client/Kaoshi/exam.vue

@@ -345,6 +345,11 @@
 			replyList: []
 		};
 		console.log(questionData.value)
+		
+		uni.showLoading({
+			title: '加载中'
+		})
+		
 		questionData.value.forEach(dl => {
 			dl.qas.forEach(st => {
 				const opt = {
@@ -361,6 +366,8 @@
 				// 清空缓存
 				removeCacheKs(data.operId);
 			}
+		}).catch(err => {
+			uni.hideLoading()
 		})
 	}