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