Commit fb5b71ca9c87e2445c961a22e930c18c59aae4e0

Authored by xingyu4j
1 parent 7b64cac9

peaf: vxe grid

yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts
... ... @@ -43,7 +43,7 @@ export const useVxeGrid = <T = any>(config?: UseVxeGridConfig<T>) => {
43 43 const gridOptions = reactive<VxeGridProps>({
44 44 loading: true,
45 45 size: currentSize as any,
46   - height: 700,
  46 + height: 800,
47 47 rowConfig: {
48 48 isCurrent: true, // 当鼠标点击行时,是否要高亮当前行
49 49 isHover: true // 当鼠标移到行时,是否要高亮当前行
... ... @@ -68,7 +68,7 @@ export const useVxeGrid = &lt;T = any&gt;(config?: UseVxeGridConfig&lt;T&gt;) =&gt; {
68 68 pageSize: 10, // 每页大小
69 69 pagerCount: 7, // 显示页码按钮的数量
70 70 autoHidden: true, // 当只有一页时自动隐藏
71   - pageSizes: [5, 10, 15, 20, 50, 100, 200, 500], // 每页大小选项列表
  71 + pageSizes: [5, 10, 20, 30, 50, 100], // 每页大小选项列表
72 72 layouts: [
73 73 'PrevJump',
74 74 'PrevPage',
... ...