chao 3 月之前
父节点
当前提交
6bb7f46817
共有 5 个文件被更改,包括 4 次插入4 次删除
  1. 0 0
      dist/assets/Details-kiRsBhqi.js
  2. 0 0
      dist/assets/admin-gvoxi9-t.js
  3. 0 0
      dist/assets/index-oZ5bJLtE.js
  4. 1 1
      dist/index.html
  5. 3 3
      src/views/main.vue

文件差异内容过多而无法显示
+ 0 - 0
dist/assets/Details-kiRsBhqi.js


文件差异内容过多而无法显示
+ 0 - 0
dist/assets/admin-gvoxi9-t.js


文件差异内容过多而无法显示
+ 0 - 0
dist/assets/index-oZ5bJLtE.js


+ 1 - 1
dist/index.html

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

+ 3 - 3
src/views/main.vue

@@ -1,7 +1,7 @@
 <template>
   <div style="height:100%">
     <Header></Header>
-    <div class="container">
+    <div class="container" v-if="isLogin">
       <div class="container-left" :style="leftShow ? {width:0}:{width:'240px'}">
         <div :class="activeIndex == 0 ? 'container-left-top active' : 'container-left-top'" @click="activeIndex = 0">
           <img class="icon-img" :src="activeIndex == 0 ? img1 : img11" alt="教学中心" />教学中心
@@ -92,7 +92,7 @@ const user = userInfoStore()
 const CurrentRole = userCurrentRole()
 const isupdateCourse = ref(false)
 const isLogin = ref(false)
-const activeIndex = ref(0)
+const activeIndex = ref(1)
 const dialogVisible = ref(true)
 const iframeRef = ref(null)
 const iframeRef1 = ref(null)
@@ -110,7 +110,7 @@ onMounted(() => {
       clickSwitch(1)
       clearInterval(timer)
     }
-  }, 1000);
+  }, 10);
 })
 
 watchEffect(() => {

部分文件因为文件数量过多而无法显示