chao 3 mēneši atpakaļ
vecāks
revīzija
08cc64de41

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/Details-wb8Djlm-.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/admin-5FmqVJ7W.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index-XTV3JVNU.js


+ 1 - 1
dist/index.html

@@ -8,7 +8,7 @@
     <script>
       document.domain = "cocorobo.cn"
     </script>
-    <script type="module" crossorigin src="./assets/index-7s8E9Fmb.js"></script>
+    <script type="module" crossorigin src="./assets/index-XTV3JVNU.js"></script>
     <link rel="stylesheet" crossorigin href="./assets/index-guepuggO.css">
   </head>
   <body>

+ 12 - 2
src/views/main.vue

@@ -69,7 +69,7 @@
   </div>
 </template>
 <script setup>
-import { ref, watchEffect } from 'vue';
+import { ref, watchEffect,onMounted } from 'vue';
 import img1 from '@/assets/icon/1.png'
 import img11 from '@/assets/icon/1-1.png'
 import img2 from '@/assets/icon/2.png'
@@ -92,7 +92,7 @@ const user = userInfoStore()
 const CurrentRole = userCurrentRole()
 const isupdateCourse = ref(false)
 const isLogin = ref(false)
-const activeIndex = ref(1)
+const activeIndex = ref(0)
 const dialogVisible = ref(true)
 const iframeRef = ref(null)
 const iframeRef1 = ref(null)
@@ -103,6 +103,16 @@ const iframeRef2Url = ref('')
 const iframeRef2Dialog = ref(false)
 const leftShow = ref(false)
 
+onMounted(() => {
+  let timer = setInterval(() => {
+    console.log('111111111111',user.user)
+    if(JSON.stringify(user.user) != "{}") {
+      clickSwitch(1)
+      clearInterval(timer)
+    }
+  }, 1000);
+})
+
 watchEffect(() => {
   // console.log('111111111111',CurrentRole, user.user)
   if (JSON.stringify(user.user) != "{}") {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels