From fe6748a1d01b54e64d9e3c8e6d63ca25212f91f2 Mon Sep 17 00:00:00 2001 From: Gimmy <975402925@qq.com> Date: Tue, 10 Sep 2024 20:48:33 +0800 Subject: [PATCH] fix(form): [form] x-design theme refresh --- .../app/form/error-slot-composition-api.vue | 32 ++++++++++++--- .../demos/pc/app/form/error-slot.spec.ts | 4 +- .../sites/demos/pc/app/form/error-slot.vue | 39 +++++++++++++++---- .../sites/demos/pc/app/form/slot-label.vue | 13 ++++++- packages/theme/src/form-item/smb-theme.js | 16 ++++---- packages/theme/src/form/index.less | 1 + packages/theme/src/form/vars.less | 4 +- 7 files changed, 83 insertions(+), 26 deletions(-) diff --git a/examples/sites/demos/pc/app/form/error-slot-composition-api.vue b/examples/sites/demos/pc/app/form/error-slot-composition-api.vue index 06cf6c5a2b..428a2be88e 100644 --- a/examples/sites/demos/pc/app/form/error-slot-composition-api.vue +++ b/examples/sites/demos/pc/app/form/error-slot-composition-api.vue @@ -4,18 +4,21 @@ - - - - 错误提示内容插槽 - - {{ message }} + + + + + + 错误提示内容插槽,提示文本很长很长,提示文本很长很长,提示文本很长很长,提示文本很长很长。 + + + 校验 @@ -26,6 +29,9 @@