@layui/layui-vue
Version:
a component library for Vue 3 base on layui-vue
11 lines (10 loc) • 517 B
JavaScript
import { defineComponent as s, openBlock as n, createElementBlock as p, toDisplayString as t, unref as a } from "vue";
import { useI18n as r } from "../../language/index.js";
import { usePage as m } from "../usePage.js";
const l = { class: "layui-page-total-text" }, d = s({ name: "LayPageCount", __name: "count", setup(u) {
const { t: e } = r(), { pageTotal: o } = m();
return (i, c) => (n(), p("span", l, t(a(e)("page.total")) + " " + t(a(o)) + " " + t(a(e)("page.item")), 1));
} });
export {
d as default
};