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