From d170456a988ec9d231e248be2ef84ce2ce7910b6 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期五, 11 六月 2021 11:19:18 +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