فهرست منبع

强制刷新暂时解决返回按钮无法返回问题

stupig-zcx 1 سال پیش
والد
کامیت
a880dfe4f1
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      src/views/Home/component/Remark/Remark.vue

+ 4 - 1
src/views/Home/component/Remark/Remark.vue

@@ -26,7 +26,7 @@
             color="#597D3B"
             @click="handleNext"
             v-if="!isStudent"
-            :disabled="isAllCorrected"
+            :disabled="isAllCorrected" 
           >
             下一个
           </el-button>
@@ -220,6 +220,9 @@ export default defineComponent({
 
     const goBack = () => {
       router.go(-1);
+      setTimeout(() => {
+        window.location.reload();
+      }, 100);
     };
 
     return {