From 841a51ab9c588f3401416b3158954321ae77c73e Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期五, 11 六月 2021 16:32:37 +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