动态左侧列表完成

This commit is contained in:
pixelqm
2019-09-15 20:24:56 +08:00
parent 36d0f9414b
commit c408911139
6 changed files with 163 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export const router = {
redirect: '/404'
})
asyncRouterHandle(asyncRouter) // 等待动态使用 VUEX持久化 会将其放入 vuex并且动态生成左侧列表
asyncRouterHandle(asyncRouter)
commit('setAsyncRouter', asyncRouter)
}
},