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

调试未登录

上级 a535fbbb
...@@ -72,11 +72,11 @@ import shareContainer from '@/components/share-container'; ...@@ -72,11 +72,11 @@ import shareContainer from '@/components/share-container';
import { BASE_URL } from '@/utils/enumerate'; import { BASE_URL } from '@/utils/enumerate';
export default { export default {
head() { // head() {
return { // return {
title: '云鹊医-赋能基层医生', // title: '云鹊医-赋能基层医生',
}; // };
}, // },
components: { components: {
h5header, h5header,
shareContainer shareContainer
...@@ -227,7 +227,8 @@ export default { ...@@ -227,7 +227,8 @@ export default {
this.$rocNative.getToken().then(data => { this.$rocNative.getToken().then(data => {
const { userToken } = data; const { userToken } = data;
checkHospitalStatus(userToken).then(res => { checkHospitalStatus(userToken).then(res => {
if(res.code=='200006'){ alert(JSON.stringify(res))
if(res.code=='200006' || res.code == '200000'){
this.$rocNative.gotoLogin(); this.$rocNative.gotoLogin();
}else{ }else{
const status = res.data.status; const status = res.data.status;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册