@ys-knife-crud/vue 0.0.2 → 0.0.3

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.
package/dist/index.cjs CHANGED
@@ -340,7 +340,8 @@ function useExportExcel({
340
340
  selectedRows,
341
341
  total,
342
342
  exportPageSize,
343
- hasMorePage
343
+ hasMorePage,
344
+ pageScopeLabel
344
345
  }) {
345
346
  const exportOptions = (0, import_vue5.computed)(() => {
346
347
  const opts = [];
@@ -351,7 +352,7 @@ function useExportExcel({
351
352
  disabled: selectedRows.value.length === 0
352
353
  });
353
354
  }
354
- opts.push({ value: "page", label: `\u5BFC\u51FA\u5F53\u524D\u9875\u6570\u636E\uFF08${currentRows.value.length} \u6761\uFF09`, disabled: false });
355
+ opts.push({ value: "page", label: `${pageScopeLabel?.value ?? "\u5BFC\u51FA\u5F53\u524D\u9875\u6570\u636E"}\uFF08${currentRows.value.length} \u6761\uFF09`, disabled: false });
355
356
  if (hasMorePage.value) {
356
357
  opts.push({ value: "all", label: "\u5BFC\u51FA\u6240\u6709\u6570\u636E", disabled: false });
357
358
  }