From 28f2a3a3a17e2e7e17fe5f70aa989707f1fde7aa Mon Sep 17 00:00:00 2001 From: FunCoder Date: Mon, 28 Apr 2025 14:16:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0json-editor-vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/package.json | 1 + Web/src/components/jsonEditor/index.vue | 64 +++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 Web/src/components/jsonEditor/index.vue diff --git a/Web/package.json b/Web/package.json index 60da12e6..639c546a 100644 --- a/Web/package.json +++ b/Web/package.json @@ -46,6 +46,7 @@ "install": "^0.13.0", "js-cookie": "^3.0.5", "js-table2excel": "^1.1.2", + "json-editor-vue": "^0.18.1", "jsplumb": "^2.15.6", "jwchat": "^2.0.3", "lodash-es": "^4.17.21", diff --git a/Web/src/components/jsonEditor/index.vue b/Web/src/components/jsonEditor/index.vue new file mode 100644 index 00000000..e3bd9fe0 --- /dev/null +++ b/Web/src/components/jsonEditor/index.vue @@ -0,0 +1,64 @@ + + + + + \ No newline at end of file From 68a6985734332c8b59b99486fddc80077bc84270 Mon Sep 17 00:00:00 2001 From: FunCoder Date: Mon, 28 Apr 2025 15:08:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=AF=8F=E9=A1=B5=E6=9D=A1=E7=9B=AE?= =?UTF-8?q?=E5=A4=AA=E5=A4=9A=EF=BC=8C=E6=94=B9=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/hooks/setupVXETableHook.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/src/hooks/setupVXETableHook.ts b/Web/src/hooks/setupVXETableHook.ts index d0ec2aad..80a3323e 100644 --- a/Web/src/hooks/setupVXETableHook.ts +++ b/Web/src/hooks/setupVXETableHook.ts @@ -102,9 +102,9 @@ export const setupVXETable = (app: App) => { background: true, // 带背景颜色 perfect: false, // 配套的样式 autoHidden: false, // 当只有一页时自动隐藏 - pageSize: 50, // 每页大小 + pageSize: 20, // 每页大小 pagerCount: 10, // 显示页码按钮的数量 - pageSizes: [50, 100, 200, 500, 1000, 2000], // 每页大小选项列表 + pageSizes: [10, 20, 50, 100, 200, 500], // 每页大小选项列表 layouts: ['PrevJump', 'PrevPage', 'JumpNumber', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'PageCount', 'Total'], // 自定义布局 }, });