feat: 删除 input-text 组件,添加消息组件,重构表单输入逻辑
Some checks failed
/ test (push) Failing after 28s
/ surge (push) Successful in 40s

This commit is contained in:
严浩
2024-11-24 22:15:12 +08:00
parent 2aa80123b8
commit 6519838995
8 changed files with 132 additions and 82 deletions

View File

@ -0,0 +1,11 @@
import { createSection } from '@formkit/inputs';
/**
* Messages section where all messages will be displayed.
*
* @public
*/
export const messages = createSection('messages', () => ({
$el: 'ul',
if: '$defaultMessagePlacement && $fns.length($messages)',
}))