mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
讲师管理bug
This commit is contained in:
10
src/App.vue
10
src/App.vue
@@ -8,7 +8,11 @@
|
||||
<bread-crumb/>
|
||||
<main>
|
||||
<a-config-provider :locale="zhCN">
|
||||
<router-view/>
|
||||
<router-view v-slot="{ Component }">
|
||||
<keep-alive :include="isInclude">
|
||||
<component :is="Component"/>
|
||||
</keep-alive>
|
||||
</router-view>
|
||||
</a-config-provider>
|
||||
</main>
|
||||
</div>
|
||||
@@ -19,7 +23,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import {ref, onMounted} from "vue";
|
||||
import {ref, onMounted,computed} from "vue";
|
||||
import {useStore, createStore} from "vuex";
|
||||
import NavLeft from "@/components/NavLeft";
|
||||
import NavTop from "@/components/NavTop";
|
||||
@@ -33,7 +37,7 @@ import {USER_PERMISSION, VALIDATE_TOKEN} from "@/api/apis";
|
||||
|
||||
const store = useStore();
|
||||
const isLogin = ref(false);
|
||||
|
||||
const isInclude = computed(()=>store.state.isInclude)
|
||||
console.log("版本3.3.2------------");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user