export const JeecgListMixin = { data() { return { /* 分页参数 */ ipagination: { current: 1, pageSize: 10, // pageSizeOptions: ['10', '20', '30'], showTotal: (total, range) => { return range[0] + "-" + range[1] + " 共" + total + "条" }, showQuickJumper: true, // showSizeChanger: true, total: 0, onChange: current => { // 切换分页时的回调, // 当在页面定义change事件时,切记要把此处的事件清除,因为这两个事件重叠了,可能到时候会导致一些莫名的bug this.ipagination.current = current } }, } } }