添加winB_pagination分页器示例
This commit is contained in:
parent
ca8c67be91
commit
a707f37de0
|
|
@ -1,3 +1,22 @@
|
||||||
|
//
|
||||||
|
// 使用示例
|
||||||
|
// import { createPagination } from "../../composables/winB_Pagination";
|
||||||
|
// mixins: [
|
||||||
|
// createPagination({
|
||||||
|
// fetchData: getProjectSchedule,
|
||||||
|
// mode: "loadMore",
|
||||||
|
// pageSize: 5,
|
||||||
|
// autoLoad: false, // 设置为 false,不自动加载
|
||||||
|
// }),
|
||||||
|
// ],
|
||||||
|
// this.winB_UpdateParams({ formedId: this.formedId });启动
|
||||||
|
|
||||||
|
// onReachBottom() {
|
||||||
|
// this.winB_LoadMore();
|
||||||
|
// console.log("加载更多");
|
||||||
|
// },
|
||||||
|
// v-for="(item, index) in winB_List"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页管理工厂函数 (带winB_前缀)
|
* 分页管理工厂函数 (带winB_前缀)
|
||||||
* @param {Object} options - 配置选项
|
* @param {Object} options - 配置选项
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user