code refactor

This commit is contained in:
MaysWind
2023-04-08 15:58:07 +08:00
parent c4b07b98aa
commit 8c33243c90
8 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ export default {
return;
}
const id = event.el.id.substr(8); // account_
const id = event.el.id.substring(8); // account_
self.$store.dispatch('changeAccountDisplayOrder', {
accountId: id,
+1 -1
View File
@@ -250,7 +250,7 @@ export default {
return;
}
const id = event.el.id.substr(9); // category_
const id = event.el.id.substring(9); // category_
self.$store.dispatch('changeCategoryDisplayOrder', {
categoryId: id,
+1 -1
View File
@@ -259,7 +259,7 @@ export default {
return;
}
const id = event.el.id.substr(4); // tag_
const id = event.el.id.substring(4); // tag_
self.$store.dispatch('changeTagDisplayOrder', {
tagId: id,