code refactor

This commit is contained in:
MaysWind
2023-07-20 01:37:45 +08:00
parent 2cbd8684cf
commit b561948030
4 changed files with 15 additions and 11 deletions
+3 -1
View File
@@ -338,7 +338,9 @@ export default {
self.accountsStore.changeAccountDisplayOrder({
accountId: id,
from: event.from - 1, // first item in the list is title, so the index need minus one
to: event.to - 1
to: event.to - 1,
updateListOrder: true,
updateGlobalListOrder: true
}).then(() => {
self.displayOrderModified = true;
}).catch(error => {