浏览代码

调整页面

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