|
@@ -31,7 +31,6 @@ router.beforeEach(async (to, from, next) => {
|
|
if (!isEnterprise && to.path !== '/enterpriseVerification' && !hasRoute(to.path)) {
|
|
if (!isEnterprise && to.path !== '/enterpriseVerification' && !hasRoute(to.path)) {
|
|
next('/404')
|
|
next('/404')
|
|
}
|
|
}
|
|
- localStorage.setItem('routerTest', to.path) // 本地环境保存代码热更新会导致路径缺失问题
|
|
|
|
// 获取商城装修模版
|
|
// 获取商城装修模版
|
|
const mallStore = useMallStore()
|
|
const mallStore = useMallStore()
|
|
const enterpriseStore = useEnterpriseStore()
|
|
const enterpriseStore = useEnterpriseStore()
|