浏览代码

fix bug团队列表-全部团队无记录时,页面无法正常展示

prince 5 年之前
父节点
当前提交
6bdbfcb711
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/ToConfigure/configure.vue

+ 6 - 1
src/views/ToConfigure/configure.vue

@@ -350,7 +350,12 @@ export default {
               this.total1 = res.data.total
             }
           })
-
+          this.loading = false
+        } else {
+          this.tableData = []
+          this.table_Data = []
+          this.total = 0
+          this.total1 = 0
           this.loading = false
         }
       })