From 3c92f7daab9e7d70d76a487eefe839dbe2287111 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Sat, 7 Jun 2025 15:48:35 +0800 Subject: [PATCH] fix: file config --- apps/web-antd/src/views/infra/fileConfig/data.ts | 16 ++++++++-------- .../src/views/infra/fileConfig/index.vue | 4 ++-- .../src/views/infra/fileConfig/modules/form.vue | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/web-antd/src/views/infra/fileConfig/data.ts b/apps/web-antd/src/views/infra/fileConfig/data.ts index 11ea4475e..84d1178ea 100644 --- a/apps/web-antd/src/views/infra/fileConfig/data.ts +++ b/apps/web-antd/src/views/infra/fileConfig/data.ts @@ -37,14 +37,6 @@ export function useFormSchema(): VbenFormSchema[] { show: (formValues) => !formValues.id, }, }, - { - fieldName: 'remark', - label: '备注', - component: 'Textarea', - componentProps: { - placeholder: '请输入备注', - }, - }, // DB / Local / FTP / SFTP { fieldName: 'config.basePath', @@ -222,6 +214,14 @@ export function useFormSchema(): VbenFormSchema[] { show: (formValues) => !!formValues.storage, }, }, + { + fieldName: 'remark', + label: '备注', + component: 'Textarea', + componentProps: { + placeholder: '请输入备注', + }, + }, ]; } diff --git a/apps/web-antd/src/views/infra/fileConfig/index.vue b/apps/web-antd/src/views/infra/fileConfig/index.vue index 923387f6b..9f0c53326 100644 --- a/apps/web-antd/src/views/infra/fileConfig/index.vue +++ b/apps/web-antd/src/views/infra/fileConfig/index.vue @@ -135,10 +135,10 @@ const [Grid, gridApi] = useVbenVxeGrid({