Commit b16f9085 authored by youjie's avatar youjie

no message

parent e09066b2
......@@ -117,6 +117,12 @@
uni.setStorageSync("lastLogin",new Date().getTime())
this.$utils.setAttatchParameter(this)
uni.hideLoading()
},e=>{
uni.hideLoading()
uni.showToast({
icon:'none',
title: e.message || '绑定员工账号失败'
})
})
},
bindErpAccountHandle(){
......@@ -137,21 +143,19 @@
Unoinid:this.mall.Unoinid
}
this.apipost("HPSLBindEmp_post", parameters, r =>{
if(r.resultCode == 1){
this.directUserLoginHandle()
return;
return
}
uni.hideLoading()
uni.showToast({
icon:'none',
title:'账号或密码错误'
title: r.message || '账号或密码错误'
})
},e=>{
uni.hideLoading()
uni.showToast({
icon:'none',
title:e
title:e.message
})
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment