migrate session list page /user security page to composition API and typescript

This commit is contained in:
MaysWind
2025-01-21 23:38:06 +08:00
parent 568abb6e03
commit e053528abf
6 changed files with 397 additions and 373 deletions
+1 -4
View File
@@ -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 = '';