提交 b771fa89 编写于 作者: tao.wu's avatar tao.wu

调试未登录的bug

上级 03f0fbb5
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
.getUserInfo() .getUserInfo()
.then(params => { .then(params => {
this.userToken = params.userToken; this.userToken = params.userToken;
this.userMobile = params.userMobile; // this.userMobile = params.userMobile;
}); });
// alert('准备自动触发预约') // alert('准备自动触发预约')
// _seft.setRemind(true); // _seft.setRemind(true);
...@@ -240,10 +240,10 @@ export default { ...@@ -240,10 +240,10 @@ export default {
if(res.code=='200006' || res.code == '200000'){ if(res.code=='200006' || res.code == '200000'){
this.$rocNative.gotoLogin(); this.$rocNative.gotoLogin();
}else{ }else{
checkHospitalStatus(userToken).then(res => { checkHospitalStatus(this.userToken).then(res => {
const status = res.data.status; const status = res.data.status;
if (status == 1) { // 机构状态正常 if (status == 1) { // 机构状态正常
remind({ token: userToken }).then(resD => { remind({ token: this.userToken }).then(resD => {
if (resD.code == '000000') { if (resD.code == '000000') {
// if(!flag){ // if(!flag){
this.$dialog.alert({ this.$dialog.alert({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册