feat: 重构消息组件,优化表单输入逻辑,移除不必要的依赖
This commit is contained in:
@ -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)',
|
||||
}))
|
||||
|
Reference in New Issue
Block a user