@ganwei-web/gw-base-components-plus 1.0.20 → 1.0.21

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.
@@ -716,7 +716,7 @@
716
716
  }
717
717
  .noDataTips {
718
718
  width: 100%;
719
- height: 300px;
719
+ min-height: 300px;
720
720
  position: relative;
721
721
  vertical-align: middle;
722
722
  }
@@ -630,12 +630,14 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
630
630
  const proxyElement = vue.ref();
631
631
  const expose = useExpose(proxyElement);
632
632
  __expose(expose);
633
+ const injectedLocale = vue.inject(elementPlus.localeContextKey, {});
634
+ const locale = vue.computed(() => attrs.locale || injectedLocale.value);
633
635
  const defaultAttrs = {
634
636
  pageSizes: [20, 50, 100],
635
637
  layout: "sizes,prev, pager, next,total"
636
638
  };
637
639
  return (_ctx, _cache) => {
638
- return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPagination), vue.mergeProps({ ...defaultAttrs, ...vue.unref(attrs) }, {
640
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPagination), vue.mergeProps({ ...defaultAttrs, ...vue.unref(attrs), locale: locale.value }, {
639
641
  ref_key: "proxyElement",
640
642
  ref: proxyElement
641
643
  }), vue.createSlots({ _: 2 }, [