From 36b71142347dc524e18fa24c5ffdffff0d02287a Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期二, 02 二月 2021 18:56:28 +0800
Subject: [PATCH] 优化列表、回到顶部组件、优化样式

---
 src/config/baseConfig.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/config/baseConfig.js b/src/config/baseConfig.js
index 1b387f0..4668a9b 100644
--- a/src/config/baseConfig.js
+++ b/src/config/baseConfig.js
@@ -8,9 +8,9 @@
 var isMock = 1 // 鏄惁浣跨敤mock
 
 // 鎵撳寘鍚庣殑鐜
-if (baseUrl.env.NODE_ENV !== 'development') {
-  baseUrl = '/';
-  isCrossDomain = 0;
+if (baseUrl.env && baseUrl.env.NODE_ENV !== 'development') {
+  baseUrl = '/'
+  isCrossDomain = 0
   isTest = 0
   isMock = 0
 }

--
Gitblit v1.8.0