diff --git a/pages/account/index/userInfo.vue b/pages/account/index/userInfo.vue index ae11a02..9a22876 100644 --- a/pages/account/index/userInfo.vue +++ b/pages/account/index/userInfo.vue @@ -104,6 +104,9 @@ export default { }, created() { this.getOssConfig(); + if (this.userInfo && Object.keys(this.userInfo).length > 0) { + this.initData(); + } }, methods: { initData() {