From 710a53a658929b5dcc1aac31db82a12e59532f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Mon, 3 Sep 2018 17:52:43 +0800 Subject: [PATCH] Fix the exception below win --- config/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- GitLab