no message
Former-commit-id: 39ce7cc5f4fedfbc532ce0dd84969566f2ac9ea9 [formerly 7260132cf9457c2add2123dcdf753b6a2685a6fa] [formerly 39ce7cc5f4fedfbc532ce0dd84969566f2ac9ea9 [formerly 7260132cf9457c2add2123dcdf753b6a2685a6fa] [formerly 39ce7cc5f4fedfbc532ce0dd84969566f2ac9ea9 [formerly 7260132cf9457c2add2123dcdf753b6a2685a6fa] [formerly 7260132cf9457c2add2123dcdf753b6a2685a6fa [formerly 6a0f8169e55aef3a06ad4ad1a886ccefbb89c7c6 [formerly 7c6206c877e9d669c7549f216a743ba7749f568c]]]]] Former-commit-id: c3d91f0f3530405ede6dd6d0b3af0f4182098792 Former-commit-id: 12e4b2e828fc38cf1825ce4e3205abe7914bab20 Former-commit-id: 4c6031327259be12bc930cc1b99257bfac590672 [formerly 78a40e795c2429e3fc8d42bc790c59dbec7c5911] Former-commit-id: d164c4db1803cd684bf9806e4d044b5032e0612e Former-commit-id: 9df3d0fe1a100cf6d1bed1ef46fe79f4330aa277 Former-commit-id: edf76528ce6ecd10f92dbc2c65e8fb3bacd3b86b Former-commit-id: 485555b0759bf336c15a561343a7ad6a150a2aee Former-commit-id: 2177d168625cf72c301207b8be4efb254be963e5
This commit is contained in:
@@ -57,6 +57,7 @@ import pluginOpen from '@/plugin/open'
|
||||
// 插件 支持百万级数据的表格
|
||||
import bigdataTable from '@/plugin/vue-bigdata-table'
|
||||
|
||||
// 打包的设置 用户获取路径
|
||||
import buildConfig from '../config/index'
|
||||
|
||||
Vue.use(ElementUI)
|
||||
@@ -94,22 +95,17 @@ new Vue({
|
||||
getAllTagFromRoutes () {
|
||||
// 所有加载在主框架内的页面
|
||||
const tagPool = []
|
||||
// 所有需要被缓存的页面组件 name
|
||||
const pageUseCacheList = []
|
||||
const push = function (routes) {
|
||||
routes.forEach(route => {
|
||||
if (route.children) {
|
||||
push(route.children)
|
||||
} else {
|
||||
console.log('alive', route.meta.alive)
|
||||
tagPool.push(route)
|
||||
}
|
||||
})
|
||||
}
|
||||
push(frameInRoutes)
|
||||
console.log('tagPool', tagPool)
|
||||
this.$store.commit('d2adminTagPoolSet', tagPool)
|
||||
this.$store.commit('d2adminPageUseCacheListSet', pageUseCacheList)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user