mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
migrate session list page /user security page to composition API and typescript
This commit is contained in:
@@ -456,10 +456,7 @@ function save(): void {
|
||||
saving.value = true;
|
||||
showLoading(() => saving.value);
|
||||
|
||||
rootStore.updateUserProfile({
|
||||
profile: newProfile.value,
|
||||
currentPassword: currentPassword.value
|
||||
}).then(response => {
|
||||
rootStore.updateUserProfile(newProfile.value.toProfileUpdateRequest(currentPassword.value)).then(response => {
|
||||
saving.value = false;
|
||||
hideLoading();
|
||||
currentPassword.value = '';
|
||||
|
||||
Reference in New Issue
Block a user