This commit is contained in:
2022-12-09 16:41:41 +08:00
parent c1cce5a7c2
commit ff7aa8774f
2003 changed files with 156639 additions and 140 deletions

View File

@@ -26,6 +26,7 @@ const _hoisted_9 = {
class: "layui-laypage-skip"
};
const _hoisted_10 = ["disabled"];
const _hoisted_11 = { key: 5 };
const __default__ = {
name: "LayPage"
};
@@ -43,7 +44,8 @@ const _sfc_main = 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 }) {
@@ -200,7 +202,8 @@ const _sfc_main = defineComponent({
onClick: _cache[5] || (_cache[5] = ($event) => jumpPage()),
disabled: currentPageShow.value > maxPage.value || currentPageShow.value == currentPage.value
}, toDisplayString(unref(t)("page.confirm")), 9, _hoisted_10)
])) : createCommentVNode("", true)
])) : createCommentVNode("", true),
__props.count ? (openBlock(), createElementBlock("span", _hoisted_11, "\u5171" + toDisplayString(__props.count) + "\u6761", 1)) : createCommentVNode("", true)
]);
};
}