feat:【antd/ele】【组件】form-create 封装的代码统一评审

This commit is contained in:
YunaiV
2025-11-20 16:10:41 +08:00
parent 4aef96a8f8
commit 342a948bc0
17 changed files with 73 additions and 102 deletions

View File

@@ -5,7 +5,7 @@ import {
makeRequiredRule,
} from '#/components/form-create/helpers';
export const useEditorRule = () => {
export function useEditorRule() {
const label = '富文本';
const name = 'Tinymce';
return {
@@ -33,4 +33,4 @@ export const useEditorRule = () => {
]);
},
};
};
}