[bug] fix cannot delete profile
This commit is contained in:
parent
5d02d665df
commit
10918ba020
|
@ -40,7 +40,7 @@
|
||||||
await this.$confirm(this.$t('profile.deleteConfirm'), 'danger');
|
await this.$confirm(this.$t('profile.deleteConfirm'), 'danger');
|
||||||
|
|
||||||
this.deleting = true;
|
this.deleting = true;
|
||||||
const response = await this.$axios.$post(`/profile/delete/${locale}`);
|
const response = await this.$axios.$post(`/profile/delete`);
|
||||||
this.deleting = false;
|
this.deleting = false;
|
||||||
this.$emit('update', response);
|
this.$emit('update', response);
|
||||||
},
|
},
|
||||||
|
|
Reference in New Issue