提交 ee9a43b4 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复,打开登陆页时携带参数,导致的快捷登陆方式重复的问题

上级 26c0ed5c
## 1.0.34(2021-07-08)
修复,打开登陆页时携带参数,导致的快捷登陆方式重复的问题
## 1.0.33(2021-07-06) ## 1.0.33(2021-07-06)
修复,点击短信验证码登陆打开的页面不正确的问题 修复,点击短信验证码登陆打开的页面不正确的问题
## 1.0.32(2021-07-06) ## 1.0.32(2021-07-06)
......
...@@ -126,8 +126,9 @@ ...@@ -126,8 +126,9 @@
servicesList = servicesList.filter(item => item.id != this.loginConfig[0]) servicesList = servicesList.filter(item => item.id != this.loginConfig[0])
} }
//去掉当前页面对应的登录选项 //去掉当前页面对应的登录选项
this.servicesList = servicesList.filter(item => { this.servicesList = servicesList.filter(item => {
return item.path != this.getRoute(1) let path = item.path?item.path.split('?')[0]:'';
return path != this.getRoute(1)
}) })
console.log('servicesList', servicesList, this.servicesList); console.log('servicesList', servicesList, this.servicesList);
}, },
......
{ {
"id": "uni-starter", "id": "uni-starter",
"displayName": "uni-starter", "displayName": "uni-starter",
"version": "1.0.33", "version": "1.0.34",
"description": "云端一体应用快速开发基本项目模版", "description": "云端一体应用快速开发基本项目模版",
"keywords": [ "keywords": [
"uni-starter", "uni-starter",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册