From 8eb46c511d4f61d3ba515139385dc4bea81893e7 Mon Sep 17 00:00:00 2001 From: Gimmy <975402925@qq.com> Date: Thu, 7 Nov 2024 18:39:26 +0800 Subject: [PATCH] docs(form): [form] optimize form demos --- .../app/form/basic-usage-composition-api.vue | 10 ++-- .../demos/pc/app/form/basic-usage.spec.ts | 4 -- .../sites/demos/pc/app/form/basic-usage.vue | 8 +-- ...custom-validation-rule-composition-api.vue | 2 +- .../pc/app/form/custom-validation-rule.vue | 2 +- .../app/form/display-only-composition-api.vue | 39 ++++++------ .../demos/pc/app/form/display-only.spec.ts | 8 +-- .../sites/demos/pc/app/form/display-only.vue | 39 ++++++------ .../form/form-disabled-composition-api.vue | 59 ++++++++---------- .../demos/pc/app/form/form-disabled.spec.js | 60 +++++++++---------- .../sites/demos/pc/app/form/form-disabled.vue | 60 ++++++++----------- .../form-validate-field-composition-api.vue | 4 +- .../demos/pc/app/form/form-validate-field.vue | 4 +- .../form/form-validation-composition-api.vue | 16 ++--- .../demos/pc/app/form/form-validation.spec.ts | 6 +- .../demos/pc/app/form/form-validation.vue | 17 +++--- .../pc/app/form/size-composition-api.vue | 8 +-- examples/sites/demos/pc/app/form/size.vue | 8 +-- .../validate-debounce-composition-api.vue | 2 +- .../demos/pc/app/form/validate-debounce.vue | 2 +- packages/theme/src/form-item/index.less | 4 ++ 21 files changed, 173 insertions(+), 189 deletions(-) diff --git a/examples/sites/demos/pc/app/form/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/form/basic-usage-composition-api.vue index a6152faac5..9d32c944d5 100644 --- a/examples/sites/demos/pc/app/form/basic-usage-composition-api.vue +++ b/examples/sites/demos/pc/app/form/basic-usage-composition-api.vue @@ -1,13 +1,13 @@