refactor(auth): 保留 codeLogin 和 passwordLogin 页跳转URL的 tenantId 参数
This commit is contained in:
parent
3e996b0b95
commit
6ae8c93a61
|
@ -316,9 +316,15 @@
|
|||
},
|
||||
// 跳转密码登录页
|
||||
goPasswordLogin(){
|
||||
uni.reLaunch({
|
||||
url: './passwordLogin'
|
||||
});
|
||||
if(this.query.tenantId){
|
||||
uni.reLaunch({
|
||||
url: './passwordLogin?tenantId='+this.query.tenantId
|
||||
});
|
||||
}else{
|
||||
uni.reLaunch({
|
||||
url: './passwordLogin'
|
||||
});
|
||||
}
|
||||
},
|
||||
goPolicy() {
|
||||
uni.navigateTo({
|
||||
|
|
|
@ -331,9 +331,15 @@
|
|||
},
|
||||
// 跳转密码登录页
|
||||
goPhoneLogin(){
|
||||
uni.reLaunch({
|
||||
url: './codeLogin'
|
||||
});
|
||||
if(this.query.tenantId){
|
||||
uni.reLaunch({
|
||||
url: './codeLogin?tenantId='+this.query.tenantId
|
||||
});
|
||||
}else{
|
||||
uni.reLaunch({
|
||||
url: './codeLogin'
|
||||
});
|
||||
}
|
||||
},
|
||||
goPolicy() {
|
||||
uni.navigateTo({
|
||||
|
|
Loading…
Reference in New Issue