feat: 重构消息组件,优化表单输入逻辑,移除不必要的依赖
Some checks failed
/ surge (push) Has been cancelled
/ test (push) Has been cancelled

This commit is contained in:
严浩
2024-11-24 23:24:41 +08:00
parent edd6decdbd
commit 29db04c54a
4 changed files with 8 additions and 16 deletions

View File

@ -1,11 +1,8 @@
import MessagesCmp from '@/__fk-inputs__/components/messages.vue';
import { createSection } from '@formkit/inputs';
/**
* Messages section where all messages will be displayed.
*
* @public
*/
export const messages = createSection('messages', () => ({
$el: 'ul',
$cmp: MessagesCmp as any,
props: { context: '$node.context', },
if: '$defaultMessagePlacement && $fns.length($messages)',
}))