Skip to content

Commit 6f43b17

Browse files
Wjinleisendya
authored andcommitted
After the results are obtained, the loading state of the table should always be turned off
1 parent 753e437 commit 6f43b17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Table/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ export default {
188188
this.localPagination = false
189189
}
190190
this.localDataSource = r.data // 返回结果中的数组数据
191+
})
192+
.finally(() => {
191193
this.localLoading = false
192194
})
193195
}

0 commit comments

Comments
 (0)