瀏覽代碼

Merge remote-tracking branch 'origin/master'

WANG 6 年之前
父節點
當前提交
b1beedbe1b
共有 1 個文件被更改,包括 9 次插入6 次删除
  1. 9 6
      src/modules/basic/view/campus.vue

+ 9 - 6
src/modules/basic/view/campus.vue

@@ -3,6 +3,7 @@
     <div class="box box-info">
       <div
         class="box-body"
+        v-loading.body="fileLoading"
         v-loading.fullscreen="fileLoading"
         element-loading-text="请稍后..."
       >
@@ -438,12 +439,14 @@ export default {
         this.pageSize +
         "?" +
         param;
-      this.$httpWithMsg.get(url).then(response => {
-        this.tableData = response.data.list;
-        this.total = response.data.total;
-        this.loading = false;
-      })
-      .finally(() => (this.fileLoading = false));
+      this.$httpWithMsg
+        .get(url)
+        .then(response => {
+          this.tableData = response.data.list;
+          this.total = response.data.total;
+          this.loading = false;
+        })
+        .finally(() => (this.fileLoading = false));
     },
     //导入
     handleRemove(file, fileList) {