fix: 修复从首页跳转至其标签页有时显示错误的问题
This commit is contained in:
parent
1c7a7273ff
commit
e791e8f763
@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user