梁航:动态展示用户信息
This commit is contained in:
@@ -43,8 +43,8 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
|
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
|
||||||
account: '123456',
|
account: '',
|
||||||
username: '用户名',
|
username: '',
|
||||||
isLoad: true
|
isLoad: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -54,6 +54,8 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.isLoad = true
|
this.isLoad = true
|
||||||
|
this.$data.account = wx.getStorageSync('account')
|
||||||
|
this.$data.username = wx.getStorageSync('nickname')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
reOnLoad() {
|
reOnLoad() {
|
||||||
|
|||||||
Reference in New Issue
Block a user