yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
32 lines (31 loc) • 773 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const elementPlus = require("element-plus");
const paginationProps = {
...elementPlus.paginationProps,
/** 总条目数 */
total: [String, Number],
/** 是否还有下一页 */
hasNext: {
type: Boolean,
default: true
},
/** 风格 */
type: {
type: String,
default: "circle"
},
/** 每页数量选择下拉是否使用固定定位 */
isFixedPopper: {
type: Boolean,
default: true
}
};
const paginationEmits = {
/** 更新页码 */
"update:currentPage": (_currentPage) => true,
/** 更新每页数量 */
"update:pageSize": (_pageSize) => true
};
exports.paginationEmits = paginationEmits;
exports.paginationProps = paginationProps;