From ee9a43b4576a8ee0348eee48efc67fabf6f6b0a6 Mon Sep 17 00:00:00 2001 From: linju-json Date: Thu, 8 Jul 2021 14:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=8C=E6=89=93=E5=BC=80?= =?UTF-8?q?=E7=99=BB=E9=99=86=E9=A1=B5=E6=97=B6=E6=90=BA=E5=B8=A6=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E5=AF=BC=E8=87=B4=E7=9A=84=E5=BF=AB=E6=8D=B7?= =?UTF-8?q?=E7=99=BB=E9=99=86=E6=96=B9=E5=BC=8F=E9=87=8D=E5=A4=8D=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 ++ components/uni-quick-login/uni-quick-login.vue | 5 +++-- package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 216d7fab..a20e4f3b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 1.0.34(2021-07-08) +修复,打开登陆页时携带参数,导致的快捷登陆方式重复的问题 ## 1.0.33(2021-07-06) 修复,点击短信验证码登陆打开的页面不正确的问题 ## 1.0.32(2021-07-06) diff --git a/components/uni-quick-login/uni-quick-login.vue b/components/uni-quick-login/uni-quick-login.vue index 5a4ff6b3..ed8c1244 100644 --- a/components/uni-quick-login/uni-quick-login.vue +++ b/components/uni-quick-login/uni-quick-login.vue @@ -126,8 +126,9 @@ servicesList = servicesList.filter(item => item.id != this.loginConfig[0]) } //去掉当前页面对应的登录选项 - this.servicesList = servicesList.filter(item => { - return item.path != this.getRoute(1) + this.servicesList = servicesList.filter(item => { + let path = item.path?item.path.split('?')[0]:''; + return path != this.getRoute(1) }) console.log('servicesList', servicesList, this.servicesList); }, diff --git a/package.json b/package.json index eb599574..0964b74a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.0.33", + "version": "1.0.34", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "uni-starter", -- GitLab