梁航:动态展示用户信息

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() {
return {
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
account: '123456',
username: '用户名',
account: '',
username: '',
isLoad: true
}
},
@@ -54,6 +54,8 @@
return
}
this.isLoad = true
this.$data.account = wx.getStorageSync('account')
this.$data.username = wx.getStorageSync('nickname')
},
methods: {
reOnLoad() {