fix: 修复从首页跳转至其标签页有时显示错误的问题

This commit is contained in:
jmal 2024-05-25 23:37:43 +08:00
parent 1c7a7273ff
commit e791e8f763

View File

@ -1548,7 +1548,7 @@ export default {
) )
const lastPageSize = this.pagination.pageSize const lastPageSize = this.pagination.pageSize
const thisPageSize = gridRowNum * this.gridColumnNum + this.gridColumnNum const thisPageSize = gridRowNum * this.gridColumnNum + this.gridColumnNum
if (thisPageSize !== lastPageSize) { if (thisPageSize !== lastPageSize && this.$route.path === '/') {
this.pagination.pageSize = thisPageSize this.pagination.pageSize = thisPageSize
this.getFileList() this.getFileList()
} }