|
@@ -11,6 +11,8 @@ const isEnterprise = () => {
|
|
// 本地环境保存代码热更新会导致路径缺失问题
|
|
// 本地环境保存代码热更新会导致路径缺失问题
|
|
const testUsePath = localStorage.getItem('routerTest')
|
|
const testUsePath = localStorage.getItem('routerTest')
|
|
if (currentRoute?.path === '/' && (testUsePath?.includes(substr) || testUsePath?.includes('/enterpriseVerification'))) bool = true
|
|
if (currentRoute?.path === '/' && (testUsePath?.includes(substr) || testUsePath?.includes('/enterpriseVerification'))) bool = true
|
|
|
|
+ // console.log('currentRoute', currentRoute.path)
|
|
|
|
+ // console.log('isEnterprise-bool', bool)
|
|
return bool
|
|
return bool
|
|
}
|
|
}
|
|
|
|
|