소스 검색

延迟访问,数据可能还未同步

lifanagju_citu 1 개월 전
부모
커밋
7fcfa1d48b
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/plugins/dialogExtend/components/necessaryInfoDialog.vue

+ 3 - 1
src/plugins/dialogExtend/components/necessaryInfoDialog.vue

@@ -88,7 +88,9 @@ const simpleInfoSubmit = async () => {
     dialog.value = false
     overlay.value = false
     props.sure()
-    if (isStudent.value) window.location.href = '/recruit/personal/personalCenter/student/information'
+    setTimeout(() => {
+      if (isStudent.value) window.location.href = '/recruit/personal/personalCenter/student/information'
+    }, 1000)
   } catch (error) {
     console.error('error', error)
   }