个人中心新增健康档案
This commit is contained in:
@@ -186,8 +186,13 @@
|
||||
},
|
||||
// 个人档案
|
||||
onFiles(){
|
||||
if(this.isLogin()){
|
||||
this.$Router.push({name: 'indexFiles'})
|
||||
if(this.isLogin()){
|
||||
if(!this.userInfo.has_record){
|
||||
console.log('未完善资料')
|
||||
this.$Router.push({name: 'EssentialInfo'})
|
||||
return
|
||||
}
|
||||
this.$Router.push({name: 'UserFiles'})
|
||||
}
|
||||
},
|
||||
// 按钮导航
|
||||
|
||||
Reference in New Issue
Block a user