Browse Source

删除无用代码

lifanagju_citu 3 months ago
parent
commit
810059f59d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/permission.js

+ 0 - 1
src/permission.js

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