提交 c088d8e1 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 bf036e78
import cAction from '@action'
// import cAction from '@action'
import { Message } from 'element-ui'
// import { Message } from 'element-ui'
export default class Before {
constructor (opt) {
......@@ -23,12 +23,13 @@ export default class Before {
/* 获取用户信息 */
isLogin () {
if (window.G.UserInfo) return true
return cAction.Test.getInfo().then(res => {
window.G.UserInfo = res
return true
}).catch(res => {
Message({ type: 'error', message: res.message })
return false
})
return true
// return cAction.Test.getInfo().then(res => {
// window.G.UserInfo = res
// return true
// }).catch(res => {
// Message({ type: 'error', message: res.message })
// return false
// })
}
}
......@@ -30,7 +30,7 @@ export default {
color: #999999;
line-height: 33px;
margin-top: 30px;
white-space: nowrap;
white-space: nowrap;
}
}
.img-certificate{
......
......@@ -23,7 +23,7 @@ export default {
},
data() {
return {
step: 1,
step: 0,
info: {},
certImg: '',
breadText: ''
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论