diff --git a/webui/src/components/UserCard.vue b/webui/src/components/UserCard.vue index 40b337e..f3955bb 100644 --- a/webui/src/components/UserCard.vue +++ b/webui/src/components/UserCard.vue @@ -11,6 +11,7 @@ export default { }, data: function () { return { + username: this.name, errorMsg: "aaa", user_followed: this.followed, user_banned: this.banned, @@ -73,7 +74,7 @@ export default { .then(response => { this.show_username_form = false this.$emit('updateInfo') - this.name = this.newUsername + this.username = this.newUsername }) }, }, @@ -89,7 +90,7 @@ export default {