feat: 移除未使用的自定义组件引用,优化 PInputText 组件的结构
All checks were successful
/ test (push) Successful in 26s
/ surge (push) Successful in 37s

This commit is contained in:
严浩
2024-11-25 11:40:36 +08:00
parent 299a47dc8b
commit 3e1995b0de

View File

@ -18,7 +18,6 @@ export const PInputText: FormKitTypeDefinition = {
type: 'input', type: 'input',
schema: outer( schema: outer(
label('$label'), label('$label'),
// custom_FComponent.schema,
createSection('input', () => ({ createSection('input', () => ({
$cmp: 'InputTextCmp', $cmp: 'InputTextCmp',
bind: '$attrs', bind: '$attrs',
@ -38,7 +37,6 @@ export const PInputText: FormKitTypeDefinition = {
messages(), messages(),
), ),
library: { library: {
// 'FComponent': custom_FComponent.library,
InputTextCmp: markRaw(InputTextCmp), InputTextCmp: markRaw(InputTextCmp),
}, },
features: [casts], features: [casts],