梁航:动态展示用户信息
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user