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

去掉alert提示

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