From cf11971242e165adf92ef152cee188c0f1fbf70b Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 25 Nov 2020 11:45:37 +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