ソースを参照

增加loading

jbb 2 年 前
コミット
40acb77c57
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/views/book/book-list.vue

+ 2 - 0
src/views/book/book-list.vue

@@ -514,7 +514,9 @@ export default {
           if(this.queryParam.pageNo > 1 && this.bookListData.length === 1){
           this.queryParam.pageNo = this.queryParam.pageNo -1
         }
+        this.loading = true
         deletePackingList({id:id}).then(res => {
+          this.loading = false
           if (res.success) {
             this.getBookList()
           }else {