From 73c27460075c56ebeb696341fb1b9cae220dd7e0 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 02 Dec 2020 14:58:47 +0800
Subject: [PATCH] 微调主色,优化表单验证错误状态显示

---
 bases/Fetcher.js |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/bases/Fetcher.js b/bases/Fetcher.js
index d670dee..f80ee41 100644
--- a/bases/Fetcher.js
+++ b/bases/Fetcher.js
@@ -3,10 +3,6 @@
  * @author Tevin
  */
 
-// import Axios from 'axios';
-// import Qs from 'qs';
-// import {message, Modal} from 'antd';
-// import { AtToast } from 'taro-ui-vue'
 import Taro from '@tarojs/taro';
 import {Tools} from '@components/common/Tools';
 
@@ -486,8 +482,8 @@
         if (Tools.getTopUrlParam('query') === 'real') {
             return false;
         }
-        // 当没有 url 指定时,只有内网 ip 和 35** 的端口号,视为本地开发模式
-        return /^(192|127|localhost).*?:35\d{2}$/i.test(window.location.host);
+        // 当没有 url 指定时,只有内网 ip 和 33** 的端口号,视为本地开发模式
+        return /^(192|127|localhost).*?:33\d{2}$/i.test(window.location.host);
     })();
 
 

--
Gitblit v1.9.1