Merge pull request #124 from jamebal/share

fix: 修复从首页跳转至其标签页有时显示错误的问题
This commit is contained in:
jmal 2024-05-25 23:52:56 +08:00 committed by GitHub
commit 98b43ccddd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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()
} }