forked from github/dataease
fix(图表): 修复明细表分页器在单页情况下,常规分页器没有展示,精简分页器却展示的问题
This commit is contained in:
parent
6e2b709c4a
commit
3250f19424
@ -200,7 +200,7 @@ const setupPage = (chart: ChartObj, resetPageInfo?: boolean) => {
|
||||
}
|
||||
const pageInfo = state.pageInfo
|
||||
pageInfo.pageSize = customAttr.basicStyle.tablePageSize ?? 20
|
||||
if (state.totalItems > state.pageInfo.pageSize || state.pageStyle !== 'general') {
|
||||
if (state.totalItems > state.pageInfo.pageSize || state.pageStyle === 'general') {
|
||||
pageInfo.total = state.totalItems
|
||||
state.showPage = true
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user