@nokecy/qc-ui 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -338,8 +338,10 @@ function AgGridPlus(props) {
338
338
  current: current
339
339
  }));
340
340
  },
341
- size: "small" // showTotal={(total, range) => `${range[0]}-${range[1]} of ${total} items`}
342
- ,
341
+ size: "small",
342
+ showTotal: function showTotal(total, range) {
343
+ return "\u7B2C ".concat(range[0], "-").concat(range[1], " \u6761/\u603B\u5171 ").concat(total, " items");
344
+ },
343
345
  pageSizeOptions: [10, 100, 200, 500, 1000],
344
346
  hideOnSinglePage: true,
345
347
  showQuickJumper: false
@@ -312,8 +312,10 @@ function AgGridPlus(props) {
312
312
  current: current
313
313
  }));
314
314
  },
315
- size: "small" // showTotal={(total, range) => `${range[0]}-${range[1]} of ${total} items`}
316
- ,
315
+ size: "small",
316
+ showTotal: function showTotal(total, range) {
317
+ return "\u7B2C ".concat(range[0], "-").concat(range[1], " \u6761/\u603B\u5171 ").concat(total, " items");
318
+ },
317
319
  pageSizeOptions: [10, 100, 200, 500, 1000],
318
320
  hideOnSinglePage: true,
319
321
  showQuickJumper: false