From fb329d5746b425014f30024ee240cdc4cb3a9d76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Sun, 24 Nov 2024 23:58:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=AD=E7=9A=84=E4=B8=8D=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E5=8F=82=E6=95=B0=EF=BC=8C=E7=AE=80=E5=8C=96=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/__fk-inputs__/inputs/_demo_text.ts | 5 ++--- src/all-custom/all-custom.vue | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/__fk-inputs__/inputs/_demo_text.ts b/src/__fk-inputs__/inputs/_demo_text.ts index 75bcc91..34b1030 100644 --- a/src/__fk-inputs__/inputs/_demo_text.ts +++ b/src/__fk-inputs__/inputs/_demo_text.ts @@ -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. diff --git a/src/all-custom/all-custom.vue b/src/all-custom/all-custom.vue index 12395f4..1835487 100644 --- a/src/all-custom/all-custom.vue +++ b/src/all-custom/all-custom.vue @@ -51,7 +51,6 @@ async function submit() {