Browse Source

分页器使用简介模式

xiaoct 7 years ago
parent
commit
60dc2232f7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/dashboardDesigner/chartView.jsx

+ 2 - 0
src/components/dashboardDesigner/chartView.jsx

@@ -47,6 +47,8 @@ class ChartView extends React.Component {
                     let pagination
                     if (chartType === 'dataView') {
                         pagination = {
+                            simple:true,
+                            hideOnSinglePage:true,
                             pageSize: chartOption.pageSize || 25,
                             total: chartOption.total,
                             current: chartOption.pageNum,