diff --git a/config/config.js b/config/config.js index 47f0ac1e39f254fcd5e1e0c6ce1a587934ad7c0a..dcede46482ae0eb96bb72252f301c6231eba2e15 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,