wolyshaw 3 năm trước cách đây
mục cha
commit
c86ea850f6

+ 4 - 0
src/views/resetTeaming/components/training-photos/index.vue

@@ -138,6 +138,10 @@ export default {
       try {
       try {
         const times = Object.values(this.changed)
         const times = Object.values(this.changed)
         let list = []
         let list = []
+        if (!times.length) {
+          this.sorting = false
+          return
+        }
         for (const item of times) {
         for (const item of times) {
           list = list.concat(item.map((item, index) => ({
           list = list.concat(item.map((item, index) => ({
             ...item,
             ...item,