Sfoglia il codice sorgente

Fix the exception below win

陈帅 7 anni fa
parent
commit
710a53a658
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,