Merge branch 'master' of https://git.yuzhankeji.cn/TmOct5/ZhHealth
This commit is contained in:
@@ -38,17 +38,14 @@
|
||||
userInfo: {}
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.targetId = e.targetId
|
||||
console.log('获取资料',e.targetId);
|
||||
getUserInfo(e.targetId).then(res => {
|
||||
this.userInfo = res
|
||||
console.log('获取资料', res);
|
||||
uni.setNavigationBarTitle({
|
||||
title: res.name
|
||||
})
|
||||
})
|
||||
},
|
||||
mounted() {
|
||||
getUserInfo(this.$Route.query.id).then(res => {
|
||||
this.userInfo = res
|
||||
uni.setNavigationBarTitle({
|
||||
title: res.name
|
||||
})
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
toPrivate() {
|
||||
uni.redirectTo({
|
||||
|
||||
Reference in New Issue
Block a user