|
@@ -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(() => {
|