From 277f3d8070b6b08ad5b79a2416ea7157895dc76c Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期二, 11 五月 2021 14:57:03 +0800 Subject: [PATCH] 修复打包判断 --- src/config/baseConfig.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/config/baseConfig.js b/src/config/baseConfig.js index 92069cb..025ee8b 100644 --- a/src/config/baseConfig.js +++ b/src/config/baseConfig.js @@ -5,7 +5,7 @@ var isMock = 1 // 鏄惁浣跨敤mock // 鎵撳寘鍚庣殑鐜 -if (baseUrl.env && baseUrl.env.NODE_ENV !== 'development') { +if (process.env && process.env.NODE_ENV !== 'development') { baseUrl = '/' isCrossDomain = 0 isTest = 0 -- Gitblit v1.8.0