wolyshaw 3 years ago
parent
commit
c86ea850f6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/resetTeaming/components/training-photos/index.vue

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

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