소스 검색

打印数据

lifanagju_citu 8 달 전
부모
커밋
b6ddcc96d4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/utils/auth.js

+ 2 - 0
src/utils/auth.js

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