@@ -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`
})
@@ -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
@@ -191,6 +191,7 @@
uni.showToast({
title: '更新成功'
+ handleBack();