From 828c65e285fc316d2e203fb61ecdd4bd3683f76a Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Tue, 6 Oct 2020 23:23:36 +0800 Subject: [PATCH] refactor(form): support vue3 --- .../dynamic-input/enUS/form.demo.md | 4 +- .../dynamic-input/zhCN/form.demo.md | 4 +- .../components/form/enUS/custom-rule.demo.md | 6 +- .../components/form/zhCN/async.demo.md | 14 ++-- .../components/form/zhCN/custom-rule.demo.md | 12 +-- .../form/zhCN/custom-validation.demo.md | 7 +- .../components/form/zhCN/index.demo-entry.md | 19 +++-- .../components/form/zhCN/left.demo.md | 37 +++++----- .../components/form/zhCN/top.demo.md | 32 ++++---- demo/routes/router.js | 8 +- src/_mixins/asformitem.js | 6 +- src/checkbox/src/Checkbox.vue | 3 +- src/checkbox/src/CheckboxGroup.js | 2 +- src/form/src/Form.vue | 12 ++- src/form/src/FormItem.vue | 49 ++++-------- src/form/src/utils.js | 11 ++- src/input-number/src/InputNumber.vue | 17 ++--- src/radio/src/Radio.vue | 1 + src/switch/src/Switch.vue | 74 +++++++++++++++---- src/transfer/src/Transfer.vue | 8 +- .../src/styles/themed-base/index.cssr.js | 5 +- 21 files changed, 185 insertions(+), 146 deletions(-) diff --git a/demo/documentation/components/dynamic-input/enUS/form.demo.md b/demo/documentation/components/dynamic-input/enUS/form.demo.md index 379dc1df8..3360b0e74 100644 --- a/demo/documentation/components/dynamic-input/enUS/form.demo.md +++ b/demo/documentation/components/dynamic-input/enUS/form.demo.md @@ -29,7 +29,7 @@ >