Parcourir la source

增加loading

jbb il y a 2 ans
Parent
commit
40acb77c57
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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 {