diff --git a/config/config.js b/config/config.js index 47f0ac1e..dcede464 100644 --- a/config/config.js +++ b/config/config.js @@ -33,7 +33,7 @@ export default { ], ], define: { - APP_TYPE: process.env.APP_TYPE, + APP_TYPE: process.env.APP_TYPE || '', }, // 路由配置 routes: pageRoutes,