diff --git a/src/components/Table/index.js b/src/components/Table/index.js index 53c86f277a..78f9f18f23 100644 --- a/src/components/Table/index.js +++ b/src/components/Table/index.js @@ -145,7 +145,7 @@ export default { this.localPagination.pageSize }) // 为防止删除数据后导致页面当前页面数据长度为 0 ,自动翻页到上一页 - if (r.data.length === 0 && this.localPagination.current !== 1) { + if (r.data.length === 0 && this.localPagination.current > 1) { this.localPagination.current-- this.loadData() return