hookehuyr

fix

......@@ -39,7 +39,7 @@ axios.interceptors.response.use(
}
});
}
// TEMP: 临时拦截B端未登录情况
// 拦截B端未登录情况
if (response.data.msg === '老师请先登录!' || response.data.msg === '老师不存在!') {
router.replace({
path: '/business/login'
......
......@@ -76,7 +76,6 @@ const onClick = (item) => {
});
}
// TODO: 后端要给我个确切的判断,没有登录,中文太坑了
const kgInfo = ref({});
axios.get('/srv/?a=kg_info')
.then(res => {
......