Explorar o código

After the results are obtained, the loading state of the table should always be turned off

Jerry %!s(int64=2) %!d(string=hai) anos
pai
achega
6f43b17172
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/components/Table/index.js

+ 2 - 0
src/components/Table/index.js

@@ -188,6 +188,8 @@ export default {
             this.localPagination = false
           }
           this.localDataSource = r.data // 返回结果中的数组数据
+        })
+        .finally(() => {
           this.localLoading = false
         })
       }