Explorar el Código

Fix the exception below win

陈帅 hace 7 años
padre
commit
710a53a658
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      config/config.js

+ 1 - 1
config/config.js

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