Drew 6 жил өмнө
parent
commit
f53bcf7714

+ 2 - 2
src/main/vue/src/views/Menus.vue

@@ -252,8 +252,8 @@ export default {
                 ])
                     .then(_ => {
                         this.loading = false;
-                        let tmp = { ...node.nextSibling.data, sort: sort1 };
-                        node.nextSibling.data = { ...node.data, sort: sort0 };
+                        let tmp = { ...node.nextSibling.data, sort: sort0 };
+                        node.nextSibling.data = { ...node.data, sort: sort1 };
                         node.data = tmp;
                     })
                     .catch(e => {