feat(components): 调整分页组件默认页码和每页条数
- 将 fvPagination 组件的默认每页条数从 10 调整为 20 - 在 pageSizes 数组中添加 100 选项 - 更新 fvTable 组件中的默认每页条数和 pageSizes 配置 - 修改首页专项资金项目和研发投入资金的相关文案
This commit is contained in:
@@ -30,12 +30,12 @@ const props = defineProps({
|
||||
},
|
||||
pageSize: {
|
||||
type: Number,
|
||||
default: 10,
|
||||
default: 20,
|
||||
},
|
||||
pageSizes: {
|
||||
type: Object,
|
||||
default(rawProps) {
|
||||
return [10, 15, 20, 30, 50]
|
||||
return [10, 15, 20, 30, 50,100]
|
||||
},
|
||||
},
|
||||
small: {
|
||||
@@ -58,7 +58,7 @@ const total = ref(0)
|
||||
//对应页数
|
||||
const currentPage = ref(1)
|
||||
//每页多少条
|
||||
const pageSize = ref(10)
|
||||
const pageSize = ref(20)
|
||||
//默认每页多少条的数组
|
||||
const pageSizes = ref([])
|
||||
//是否使用小型分页样式
|
||||
|
||||
Reference in New Issue
Block a user