feat: 移除未使用的自定义组件引用,优化 PInputText 组件的结构
This commit is contained in:
@ -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],
|
||||||
|
Reference in New Issue
Block a user