This commit is contained in:
2020-08-14 10:00:27 +08:00
parent 90e9e06915
commit bc2731f1f9
6 changed files with 26 additions and 6 deletions

View File

@@ -82,14 +82,20 @@ export default {
this.member_id = option.id;
this.getUserInfo(option.id);
this.getArticlelist();
},
methods:{
// 获取信息
getUserInfo(id) {
this.$u.post("MemberExpert/expertInfo",{member_id: id}).then(res => {
// console.log(res);
console.log(res);
this.userInfo = res.data.info;
// console.log(this.userInfo);
console.log(this.userInfo.is_attention);
if(this.userInfo.is_attention == 1){
this.$u.api.dynamicRead({id}).then((res)=>{
console.log(res)
})
}
})
},
// 获取列表