diff --git a/pages/my/my.vue b/pages/my/my.vue index b3583a0..5fbf821 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -45,8 +45,8 @@ data() { return { src: 'https://cdn.uviewui.com/uview/album/2.jpg', - account: '123', - username: '用户名', + account: '', + username: '', isLoad: true } }, @@ -56,6 +56,7 @@ return } this.isLoad = true + this.getInfo() }, methods: { reOnLoad() { @@ -65,7 +66,7 @@ return } this.isLoad = true - if(this.isLoad){ + if (this.isLoad) { this.getInfo() } },