wolyshaw 3 年之前
父节点
当前提交
c86ea850f6
共有 1 个文件被更改,包括 4 次插入0 次删除
  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,