feat: 移除消息组件中的不必要参数,简化文本输入逻辑
Some checks failed
/ test (push) Failing after 28s
/ surge (push) Successful in 46s

This commit is contained in:
严浩
2024-11-24 23:58:07 +08:00
parent dc0c135c16
commit fb329d5746
2 changed files with 2 additions and 4 deletions

View File

@ -5,8 +5,6 @@ import {
wrapper,
label,
help,
messages,
message,
icon,
prefix,
suffix,
@ -14,6 +12,7 @@ import {
casts,
createSection,
} from '@formkit/inputs'
import { messages } from '../sections/messages'
/**
@ -36,7 +35,7 @@ export const text: FormKitTypeDefinition = {
)
),
help('$help'),
messages(message('$message.value'))
messages(),
),
/**
* The type of node, can be a list, group, or input.

View File

@ -51,7 +51,6 @@ async function submit() {
<FormKit
:type="text"
label="customType"
value="default value"
validation="required"
validation-visibility="live"
>