Selaa lähdekoodia

修改课程管理和课程中心跳转

lsc 7 kuukautta sitten
vanhempi
commit
0e4ac395e0
1 muutettua tiedostoa jossa 10 lisäystä ja 9 poistoa
  1. 10 9
      src/components/main/other.vue

+ 10 - 9
src/components/main/other.vue

@@ -58,15 +58,16 @@ const dialogVisible = ref(false)
 
 const openApplication = (type) => {
   console.log(type, InfoStore.user)
-  if (type == "study") {
-    if (InfoStore.user.type == 2) {
-      top.U.MD.D.I.openApplication('studentStudy')
-    } else {
-      top.U.MD.D.I.openApplication('study')
-    }
-  } else {
-    top.U.MD.D.I.openApplication(type)
-  }
+  // if (type == "study") {
+  //   if (InfoStore.user.type == 2) {
+  //     top.U.MD.D.I.openApplication('studentStudy')
+  //   } else {
+  //     top.U.MD.D.I.openApplication('study')
+  //   }
+  // } else {
+  //   top.U.MD.D.I.openApplication(type)
+  // }
+  window.open('https://cloud.cocorobo.cn//#/'+type)
 }
 const courseDown = e => {
   dialogVisible.value = true