|
|
|
@ -201,24 +201,24 @@ export default { |
|
|
|
return false |
|
|
|
} |
|
|
|
// #ifdef H5 |
|
|
|
this.$dialog.confirm({ |
|
|
|
title: this.$t("common.tips"), |
|
|
|
// message: this.$t('common.toDwon'), |
|
|
|
message: this.$t('common.toDwon1'), |
|
|
|
confirmButtonText: this.$t("common.confirm"), //改变确认按钮上显示的文字 |
|
|
|
cancelButtonText: this.$t("common.cancel"), |
|
|
|
cancel:true |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
// window.open(app.down, "_blank "); |
|
|
|
this.login() |
|
|
|
}).catch(()=>{ |
|
|
|
if (this.query.from) { |
|
|
|
this.$back(); |
|
|
|
} else { |
|
|
|
// this.$dialog.confirm({ |
|
|
|
// title: this.$t("common.tips"), |
|
|
|
// // message: this.$t('common.toDwon'), |
|
|
|
// message: this.$t('common.toDwon1'), |
|
|
|
// confirmButtonText: this.$t("common.confirm"), //改变确认按钮上显示的文字 |
|
|
|
// cancelButtonText: this.$t("common.cancel"), |
|
|
|
// cancel:true |
|
|
|
// }) |
|
|
|
// .then(() => { |
|
|
|
// // window.open(app.down, "_blank "); |
|
|
|
// this.login() |
|
|
|
// }).catch(()=>{ |
|
|
|
// if (this.query.from) { |
|
|
|
// this.$back(); |
|
|
|
// } else { |
|
|
|
this._router.replace("/pages/login/index"); |
|
|
|
} |
|
|
|
}); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// #endif |
|
|
|
// #ifdef APP-PLUS |
|
|
|
if (this.query.from) { |
|
|
|
|