From d0a11de9521c4323036e3ed6206f359b4e4534dc Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Tue, 24 Nov 2020 14:40:06 +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