소스 검색

Fix the exception below win

陈帅 7 년 전
부모
커밋
710a53a658
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      config/config.js

+ 1 - 1
config/config.js

@@ -33,7 +33,7 @@ export default {
     ],
   ],
   define: {
-    APP_TYPE: process.env.APP_TYPE,
+    APP_TYPE: process.env.APP_TYPE || '',
   },
   // 路由配置
   routes: pageRoutes,