From 64e2ff0647437fdf236bbbf768815acb8685795f Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Thu, 3 Jul 2025 23:30:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(components):=20=E8=B0=83=E6=95=B4=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E7=BB=84=E4=BB=B6=E9=BB=98=E8=AE=A4=E9=A1=B5=E7=A0=81?= =?UTF-8?q?=E5=92=8C=E6=AF=8F=E9=A1=B5=E6=9D=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 fvPagination 组件的默认每页条数从 10 调整为 20 - 在 pageSizes 数组中添加 100 选项 - 更新 fvTable 组件中的默认每页条数和 pageSizes 配置 - 修改首页专项资金项目和研发投入资金的相关文案 --- src/fvcomponents/fvPagination/index.vue | 6 +++--- src/fvcomponents/fvTable/index.vue | 16 +++++++++------- src/views/home/index.vue | 10 +++++----- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/fvcomponents/fvPagination/index.vue b/src/fvcomponents/fvPagination/index.vue index 187aebe..213e1aa 100644 --- a/src/fvcomponents/fvPagination/index.vue +++ b/src/fvcomponents/fvPagination/index.vue @@ -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([]) //是否使用小型分页样式 diff --git a/src/fvcomponents/fvTable/index.vue b/src/fvcomponents/fvTable/index.vue index 6014b71..e6d874c 100644 --- a/src/fvcomponents/fvTable/index.vue +++ b/src/fvcomponents/fvTable/index.vue @@ -1,6 +1,7 @@