提交 acac75da 编写于 作者: yi.li's avatar yi.li

去掉alert提示

上级 d2458369
...@@ -424,7 +424,7 @@ ...@@ -424,7 +424,7 @@
sessionStorage.setItem("mobile",paramsObj.mobile); sessionStorage.setItem("mobile",paramsObj.mobile);
// this.$router.push('/'); // this.$router.push('/');
alert('登录成功') // alert('登录成功')
//新增协议校验 //新增协议校验
this.checkAgreement(); this.checkAgreement();
}).catch(err => { }).catch(err => {
...@@ -560,14 +560,14 @@ ...@@ -560,14 +560,14 @@
// ------------------------ New End------------------------------- // ------------------------ New End-------------------------------
}, },
//新增协议校验 //新增协议校验
checkAgreement() { async checkAgreement() {
let mobilePhone = localStorage.getItem("mobilePhone"); let mobilePhone = localStorage.getItem("mobilePhone");
if (mobilePhone) { if (mobilePhone) {
let para = { let para = {
mobilePhone:mobilePhone, mobilePhone:mobilePhone,
agreementType:1 agreementType:1
}; };
handleAgreement(para).then(res => { await handleAgreement(para).then(res => {
if (res.code == '000000') { if (res.code == '000000') {
const arr = res.data; const arr = res.data;
if (arr.length && arr.length == 1) { if (arr.length && arr.length == 1) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册