chao 3 달 전
부모
커밋
08cc64de41
5개의 변경된 파일13개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/assets/Details-wb8Djlm-.js
  2. 0 0
      dist/assets/admin-5FmqVJ7W.js
  3. 0 0
      dist/assets/index-XTV3JVNU.js
  4. 1 1
      dist/index.html
  5. 12 2
      src/views/main.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/assets/Details-wb8Djlm-.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/assets/admin-5FmqVJ7W.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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) != "{}") {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.