Explorar o código

Fix the exception below win

陈帅 %!s(int64=7) %!d(string=hai) anos
pai
achega
710a53a658
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,