From fc32b691967b530f949f62cc3758a9d70dbd5a91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 23 三月 2022 00:14:14 +0800 Subject: [PATCH] 2022-03-23 --- src/views/login/index.jsx | 20 -------------------- 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index 39bfb4a..11df93c 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -74,13 +74,6 @@ * @param {Object} param 鐢ㄦ埛鍚嶅瘑鐮佺瓑淇℃伅 */ async loginsubmit (param) { - if (options.sysType === 'local' && !window.GLOB.mainSystemApi) { // 涓氬姟绯荤粺蹇呴』璁剧疆鍗曠偣鍦板潃 - Modal.warning({ - title: '鏈缃崟鐐规湇鍔″櫒鍦板潃锛岃鑱旂郴绠$悊鍛橈紒' - }) - return - } - let city = sessionStorage.getItem('city') || '' let ipAddress = sessionStorage.getItem('ipAddress') || '' @@ -176,13 +169,6 @@ } async phoneloginsubmit (param) { - if (options.sysType === 'local' && !window.GLOB.mainSystemApi) { // 涓氬姟绯荤粺蹇呴』璁剧疆鍗曠偣鍦板潃 - Modal.warning({ - title: '鏈缃崟鐐规湇鍔″櫒鍦板潃锛岃鑱旂郴绠$悊鍛橈紒' - }) - return - } - let city = sessionStorage.getItem('city') || '' let ipAddress = sessionStorage.getItem('ipAddress') || '' @@ -232,12 +218,6 @@ } authLogin = (appid, openid, memberid, scanId) => { - if (options.sysType === 'local' && !window.GLOB.mainSystemApi) { // 涓氬姟绯荤粺蹇呴』璁剧疆鍗曠偣鍦板潃 - Modal.warning({ - title: '鏈缃崟鐐规湇鍔″櫒鍦板潃锛岃鑱旂郴绠$悊鍛橈紒' - }) - return - } Api.getTouristMsg(appid, openid, memberid, scanId).then(res => { if (res.status) { sessionStorage.setItem('UserID', res.UserID) -- Gitblit v1.8.0