add 分页总数

This commit is contained in:
2022-11-15 14:55:22 +08:00
parent e7e7aeda2d
commit 7b125d0216
4 changed files with 11 additions and 8 deletions

View File

@@ -18614,7 +18614,7 @@ const _hoisted_9$7 = {
class: "layui-laypage-skip"
};
const _hoisted_10$7 = ["disabled"];
const _hoisted_11$7 = /* @__PURE__ */ createElementVNode("span", null, "\u517111\u6761", -1);
const _hoisted_11$7 = { key: 5 };
const __default__$D = {
name: "LayPage"
};
@@ -18632,7 +18632,8 @@ const _sfc_main$F = defineComponent({
showRefresh: { type: Boolean, default: false },
pages: { default: 10 },
limits: { default: () => [10, 20, 30, 40, 50] },
modelValue: { default: 1 }
modelValue: { default: 1 },
count: null
},
emits: ["update:modelValue", "update:limit", "change"],
setup(__props, { emit }) {
@@ -18790,7 +18791,7 @@ const _sfc_main$F = defineComponent({
disabled: currentPageShow.value > maxPage.value || currentPageShow.value == currentPage.value
}, toDisplayString$1(unref(t)("page.confirm")), 9, _hoisted_10$7)
])) : createCommentVNode("", true),
_hoisted_11$7
props.count ? (openBlock(), createElementBlock("span", _hoisted_11$7, "\u5171" + toDisplayString$1(props.count) + "\u6761", 1)) : createCommentVNode("", true)
]);
};
}