diff --git a/changelog.md b/changelog.md index 216d7fab4879bc759be2ed47fa0ee1d34931d771..a20e4f3b85ee7c44ad3f1a34f86730b6a31bc721 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 5a4ff6b3cc0500dc1826dc6a87ed845f642245b6..ed8c1244bc097d1c4c1ed3df549d87793279fa94 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 eb5995748f30ccfe325a8d4007ff9b7832f7eede..0964b74ae837ad7900b675595f86fb7742338cde 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",