梁航:动态展示用户信息

This commit is contained in:
hot777zz
2023-11-15 23:37:28 +08:00
parent 0ebd9ea050
commit 9f449b6766

View File

@@ -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() {