소스 검색

增加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 {