3h1-ui 1.2.0-beta.0 → 1.2.0-beta.2

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/es/index.js CHANGED
@@ -19548,7 +19548,7 @@ const basicFormConfig = {
19548
19548
  };
19549
19549
  const usePagination = () => {
19550
19550
  const page = reactive({
19551
- total: 101,
19551
+ total: 0,
19552
19552
  current: 1,
19553
19553
  pageSize: 10,
19554
19554
  pageSizeOptions: ["10", "20", "30", "40"]
@@ -19740,7 +19740,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19740
19740
  _: 3
19741
19741
  }, 16, ["data"])
19742
19742
  ], 2),
19743
- createElementVNode("div", {
19743
+ unref(page).total !== 0 ? (openBlock(), createElementBlock("div", {
19744
+ key: 1,
19744
19745
  class: normalizeClass(getClassName("pagination"))
19745
19746
  }, [
19746
19747
  createVNode(unref(Pagination), {
@@ -19756,7 +19757,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19756
19757
  "show-total": (total) => `\u5171 ${total} \u6761\u6570\u636E`,
19757
19758
  onChange: handlePageChange
19758
19759
  }, null, 8, ["total", "current", "page-size", "pageSizeOptions", "show-total"])
19759
- ], 2)
19760
+ ], 2)) : createCommentVNode("", true)
19760
19761
  ], 2);
19761
19762
  };
19762
19763
  }
package/es/style.css CHANGED
@@ -1828,9 +1828,11 @@ html[data-theme='dark'] .full-loading[data-v-ee545744]:not(.light) {
1828
1828
  flex: none;
1829
1829
  }
1830
1830
  .shy-basic-table-plus-body {
1831
- flex: auto;
1831
+ flex: 1 1 auto;
1832
+ overflow: hidden;
1832
1833
  }
1833
1834
  .shy-basic-table-plus-pagination {
1835
+ flex: none;
1834
1836
  padding: 5px 0;
1835
1837
  text-align: right;
1836
1838
  }[class*=vxe-icon--] {
package/lib/index.js CHANGED
@@ -19553,7 +19553,7 @@ const basicFormConfig = {
19553
19553
  };
19554
19554
  const usePagination = () => {
19555
19555
  const page = vue.reactive({
19556
- total: 101,
19556
+ total: 0,
19557
19557
  current: 1,
19558
19558
  pageSize: 10,
19559
19559
  pageSizeOptions: ["10", "20", "30", "40"]
@@ -19745,7 +19745,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19745
19745
  _: 3
19746
19746
  }, 16, ["data"])
19747
19747
  ], 2),
19748
- vue.createElementVNode("div", {
19748
+ vue.unref(page).total !== 0 ? (vue.openBlock(), vue.createElementBlock("div", {
19749
+ key: 1,
19749
19750
  class: vue.normalizeClass(getClassName("pagination"))
19750
19751
  }, [
19751
19752
  vue.createVNode(vue.unref(antDesignVue.Pagination), {
@@ -19761,7 +19762,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19761
19762
  "show-total": (total) => `\u5171 ${total} \u6761\u6570\u636E`,
19762
19763
  onChange: handlePageChange
19763
19764
  }, null, 8, ["total", "current", "page-size", "pageSizeOptions", "show-total"])
19764
- ], 2)
19765
+ ], 2)) : vue.createCommentVNode("", true)
19765
19766
  ], 2);
19766
19767
  };
19767
19768
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "1.2.0-beta.0",
3
+ "version": "1.2.0-beta.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",