From 36e8795b59c7f7393758ca96e0c2438eddaee8be Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期五, 07 三月 2025 16:14:41 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/components/layouts/TabLayout.vue | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue index ef9511f..31d3ea8 100644 --- a/src/components/layouts/TabLayout.vue +++ b/src/components/layouts/TabLayout.vue @@ -124,11 +124,9 @@ } }, 'activePage': function(key) { - console.log('key', key) let index = this.linkList.lastIndexOf(key) let waitRouter = this.pageList[index] // 銆怲ESTA-523銆戜慨澶嶏細涓嶅厑璁搁噸澶嶈烦杞矾鐢卞紓甯� - console.log('waitRouter', waitRouter, 'fullPath', this.$route.fullPath, waitRouter.fullPath !== this.$route.fullPath) if (waitRouter.path !== this.$route.fullPath) { this.$router.push(Object.assign({}, waitRouter)) } @@ -169,7 +167,6 @@ // update-begin-author:sunjianlei date:20200120 for: 鍔ㄦ�佹洿鏀归〉闈㈡爣棰� changeTitle(title) { - console.log('title', title) let projectTitle = 'MDC鏅烘収杞﹂棿' // 棣栭〉鐗规畩澶勭悊 if (this.$route.path === indexKey) { @@ -181,7 +178,6 @@ // update-end-author:sunjianlei date:20200120 for: 鍔ㄦ�佹洿鏀归〉闈㈡爣棰� changePage(key) { - console.log('changePage', key) this.activePage = key }, tabCallBack() { @@ -206,7 +202,6 @@ this.$message.warning('杩欐槸鏈�鍚庝竴椤碉紝涓嶈兘鍐嶅叧闂簡鍟�') return } - console.log('this.pageList ', this.pageList) let removeRoute = this.pageList.filter(item => item.path == key) this.pageList = this.pageList.filter(item => item.path !== key) let index = this.linkList.indexOf(key) @@ -219,8 +214,6 @@ let cacheRouterArray = Vue.ls.get(CACHE_INCLUDED_ROUTES) || [] if (removeRoute && removeRoute[0]) { let componentName = removeRoute[0].meta.componentName - console.log('key: ', key) - console.log('componentName: ', componentName) if (cacheRouterArray.includes(componentName)) { cacheRouterArray.splice(cacheRouterArray.findIndex(item => item === componentName), 1) Vue.ls.set(CACHE_INCLUDED_ROUTES, cacheRouterArray) @@ -351,7 +344,6 @@ clickMenuTitleSelected(selectedMenus) { //console.log("鏂扮殑璺敱",newRoute) - console.log('clickTitle', this.activePage) this.activePage = selectedMenus[0].path if (!this.multipage) { this.linkList = [this.linkList[0], selectedMenus[0].path] -- Gitblit v1.9.3