From 72ff135b0523247414e992ad8ebc559a55da6c50 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 27 Feb 2024 18:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Authorize.vue | 6 +++--- libs/login.js | 8 ++++---- pages/index/index.vue | 2 +- pages/store/settled/index.vue | 14 +++++++------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/components/Authorize.vue b/components/Authorize.vue index dd9b10f..7674fcd 100644 --- a/components/Authorize.vue +++ b/components/Authorize.vue @@ -101,8 +101,8 @@ title: '用户登录', info: '请登录,将为您提供更好的服务!', //#ifdef H5 - // isWeixin: this.$wechat.isWeixin(), - isWeixin: false, // 关闭微信公众号授权登录 + isWeixin: this.$wechat.isWeixin(), + // isWeixin: false, // 关闭微信公众号授权登录 //#endif //#ifdef MP title: '授权提醒', @@ -193,7 +193,7 @@ url: '/pages/users/login/login_copy' }) // console.log(22); - return + return; let self = this; Routine.getUserProfile() .then(res => { diff --git a/libs/login.js b/libs/login.js index 542ab40..153c507 100644 --- a/libs/login.js +++ b/libs/login.js @@ -51,10 +51,10 @@ export function toLogin(push, pathLogin) { Cache.set('login_back_url', path); // #ifdef H5 if (isWeixin()) { - // auth.oAuth(); - uni.navigateTo({ - url: '/pages/users/login/login_copy', - }) + auth.oAuth(); + // uni.navigateTo({ + // url: '/pages/users/login/login_copy', + // }) } else { if (path !== pathLogin) { push ? uni.navigateTo({ diff --git a/pages/index/index.vue b/pages/index/index.vue index 8bddd87..08c3ffb 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -613,7 +613,7 @@ import activityCard from "@/components/activityCard.vue" // url: `/pages/nongKe/cloud_entrepot/index?street=${this.street_id}&town=${this.town}&source=103&location=${this.latitude},${this.longitude}` // }) uni.navigateTo({ - url: `/pages/nongKe/cloud_entrepot/indexh?street_id=${this.street_id}&townName=${this.town}&source=103&location=${this.latitude},${this.longitude}` + url: `pages/cloud_warehouse/big_classification/index` }) }, diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue index 53f76a6..39a5b27 100644 --- a/pages/store/settled/index.vue +++ b/pages/store/settled/index.vue @@ -136,7 +136,7 @@ 详细地址 - @@ -149,7 +149,7 @@ 公司名称 - @@ -160,7 +160,7 @@ 法人名称 - @@ -169,7 +169,7 @@ 社会信用代码 - @@ -715,9 +715,9 @@ import { Toast } from '../../../libs/uniApi'; if (res.code == 0) { this.company = '' this.organization_code = '' - this.$util.Tips({ - title: res.msg - }); + // this.$util.Tips({ + // title: res.msg + // }); return false; } else { this.company = res.data.title