diff --git a/src/views/profile/ProfileUpdate/ProfileUpdate.vue b/src/views/profile/ProfileUpdate/ProfileUpdate.vue index dbcc9aedd..c9a250c23 100644 --- a/src/views/profile/ProfileUpdate/ProfileUpdate.vue +++ b/src/views/profile/ProfileUpdate/ProfileUpdate.vue @@ -1,11 +1,8 @@ @@ -29,6 +26,7 @@ export default { data() { return { url: `/api/v1/users/profile/`, + hasDetailInMsg: false, fields: [ [this.$t('users.Account'), ['username', 'name', 'email']], [this.$t('common.Other'), ['phone', 'wechat']] @@ -43,13 +41,11 @@ export default { email: { disabled: true } + }, + submitMethod() { + return 'patch' } } - }, - methods: { - submitMethod() { - return 'patch' - } } }