From acb7c4c272aa02c2ed24cde72db429defef9fb8f Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期四, 27 七月 2023 13:54:02 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/page/index/index.vue | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/Source/UBCS-WEB/src/page/index/index.vue b/Source/UBCS-WEB/src/page/index/index.vue index b3c7996..0ee7d19 100644 --- a/Source/UBCS-WEB/src/page/index/index.vue +++ b/Source/UBCS-WEB/src/page/index/index.vue @@ -18,9 +18,9 @@ <!-- 涓讳綋瑙嗗浘灞� --> <div style="height:100%;overflow-y:auto;overflow-x:hidden;" id="avue-view" v-show="!isSearch"> <keep-alive> - <router-view class="avue-view" v-if="$route.meta.keepAlive" :key="$route.id"></router-view> + <router-view class="avue-view" v-if="$route.meta.keepAlive" :key="$route.fullPath"/> </keep-alive> - <router-view class="avue-view" v-if="!$route.meta.keepAlive" :key="$route.id" ></router-view> + <router-view class="avue-view" v-if="!$route.meta.keepAlive" :key="$route.fullPath"/> </div> </div> </div> @@ -38,7 +38,7 @@ import {validatenull} from "@/util/validate"; import {calcDate} from "@/util/date.js"; import {getStore} from "@/util/store.js"; - import {getRoutes} from "@/api/system/menu" + export default { components: { top, @@ -67,7 +67,7 @@ created() { //瀹炴椂妫�娴嬪埛鏂皌oken this.refreshToken(); - this.getRoute() + }, mounted() { this.init(); @@ -79,15 +79,6 @@ computed: mapGetters(["isMenu", "isLock", "isCollapse", "website", "menu"]), props: [], methods: { - getRoute(topMenuId){ - getRoutes(topMenuId).then(res=>{ - console.log('route',res) - - }) - }, - getIds(){ - - }, showCollapse() { this.$store.commit("SET_COLLAPSE"); }, -- Gitblit v1.9.3