From dbf0688afc37f8b848951fb1e8fa57eef339db76 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期四, 04 二月 2021 14:47:18 +0800
Subject: [PATCH] 1、优化列表(可配置最大高度、可固定悬浮操作区) 2、弹窗可拖拽 3、详情表单页 滚动到底部添加回到顶部按钮

---
 src/config/baseConfig.js |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/config/baseConfig.js b/src/config/baseConfig.js
index 5b065cd..4668a9b 100644
--- a/src/config/baseConfig.js
+++ b/src/config/baseConfig.js
@@ -7,10 +7,14 @@
 var isTest = 0 // 鏄惁娴嬭瘯
 var isMock = 1 // 鏄惁浣跨敤mock
 
-// if (process.env.NODE_ENV !== 'development') {
-//     testBaseUrl = '/';
-//     isCrossDomain = 0;
-// }
+// 鎵撳寘鍚庣殑鐜
+if (baseUrl.env && baseUrl.env.NODE_ENV !== 'development') {
+  baseUrl = '/'
+  isCrossDomain = 0
+  isTest = 0
+  isMock = 0
+}
+
 // 绾夸笂璺ㄥ煙
 var cdBaseUrl = {
   name: '/api_online/',

--
Gitblit v1.8.0