瀏覽代碼

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,