Browse Source

修改链接

lex 1 year ago
parent
commit
80b27cd1e9
1 changed files with 8 additions and 6 deletions
  1. 8 6
      src/student/pre-register-active/video.tsx

+ 8 - 6
src/student/pre-register-active/video.tsx

@@ -343,7 +343,14 @@ export default defineComponent({
         initVideoCount(videoIntervalRef.isActive.value)
 
         await updateStat()
-        if (forms.orchestraRegisterType === 'PARENT_TEACHER_REGISTRATION') {
+
+        console.log(forms.orchestraRegisterType)
+        if (forms.orchestraRegisterType === 'PARENT_CONFERENCES') {
+          window.location.href =
+            window.location.origin +
+            window.location.pathname +
+            `/#/preApply?id=${forms.orchestraId}`
+        } else {
           window.location.href =
             window.location.origin +
             window.location.pathname +
@@ -352,11 +359,6 @@ export default defineComponent({
               orchestraId: forms.orchestraId,
               openId: forms.openId
             })
-        } else {
-          window.location.href =
-            window.location.origin +
-            window.location.pathname +
-            `/#/preApply?id=${forms.orchestraId}`
         }
       } catch (e) {
         console.log(e, 'e')