wangxy пре 4 месеци
родитељ
комит
ce11c491a1
3 измењених фајлова са 7 додато и 6 уклоњено
  1. 1 1
      components/listCard/kaoshiCard.vue
  2. 5 5
      components/questions/danxuan.vue
  3. 1 0
      pages/client/my/myInfo.vue

+ 1 - 1
components/listCard/kaoshiCard.vue

@@ -112,7 +112,7 @@
 	}
 	
 	function checkKaoshi(item) {
-		uni.redirectTo({
+		uni.navigateTo({
 			url: `/pages/client/Kaoshi/exam?ksId=${item.ksId}&zhuapai=${activeks.value.zhuapai}&from=shouye`
 		})
 	}

+ 5 - 5
components/questions/danxuan.vue

@@ -53,11 +53,11 @@
 				showError: props.question.reply == index && props.question.result != index
 			}
 		} else {
-      if (props.question.reply == '') {
-        return {
-          active: false
-        }
-      }
+			  if (props.question.reply === ''||props.question.reply === null ) {
+				return {
+				  active: false
+				}
+			  }
 			return {
 				active: props.question.reply == index
 			}

+ 1 - 0
pages/client/my/myInfo.vue

@@ -191,6 +191,7 @@
 				uni.showToast({
 					title: '更新成功'
 				})
+				handleBack();
 			}
 		})