From 6c9044b457bf6941b62c5837a9701b90bce44a77 Mon Sep 17 00:00:00 2001 From: alwayrun Date: Tue, 21 May 2024 19:28:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=20materials/sett?= =?UTF-8?q?ers/widgets=20=E7=9B=AE=E5=BD=95=E4=B8=8B=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6,=20=E4=BD=BF=E7=94=A8=20Vue3=20=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=BC=8F=20API=20=E5=86=99=E6=B3=95=20(#146)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../materials/setters/widgets/CheckBox.vue | 144 ++++++++--------- .../setters/widgets/CheckboxGroup.vue | 73 +++++---- .../materials/setters/widgets/ColorInput.vue | 43 ++--- .../materials/setters/widgets/ColorPicker.vue | 39 ++--- .../materials/setters/widgets/FormItem.vue | 18 +-- .../setters/widgets/FormdataBackFill.vue | 121 +++++++------- .../setters/widgets/FreqAndNumberLimit.vue | 53 +++---- .../materials/setters/widgets/InputNumber.vue | 149 ++++++++---------- .../setters/widgets/InputPercent.vue | 88 ++++------- .../materials/setters/widgets/InputSetter.vue | 86 +++++----- .../materials/setters/widgets/MultiInput.vue | 51 +++--- .../materials/setters/widgets/MultiSelect.vue | 67 ++++---- .../setters/widgets/QuestionTime.vue | 135 ++++++++-------- .../setters/widgets/QuestionTimeHour.vue | 122 +++++++------- .../materials/setters/widgets/RadioGroup.vue | 95 +++++------ .../materials/setters/widgets/RadioSetter.vue | 104 +++++------- .../materials/setters/widgets/RangeSetter.vue | 130 ++++++++------- .../materials/setters/widgets/RichText.vue | 51 +++--- .../setters/widgets/SelectSetter.vue | 126 ++++++++------- .../setters/widgets/SliderSetter.vue | 44 +++--- 20 files changed, 798 insertions(+), 941 deletions(-) diff --git a/web/src/materials/setters/widgets/CheckBox.vue b/web/src/materials/setters/widgets/CheckBox.vue index 8d0e7ff1..87efa774 100644 --- a/web/src/materials/setters/widgets/CheckBox.vue +++ b/web/src/materials/setters/widgets/CheckBox.vue @@ -1,92 +1,78 @@ - diff --git a/web/src/materials/setters/widgets/MultiInput.vue b/web/src/materials/setters/widgets/MultiInput.vue index 41c3feff..7b65b346 100644 --- a/web/src/materials/setters/widgets/MultiInput.vue +++ b/web/src/materials/setters/widgets/MultiInput.vue @@ -9,44 +9,31 @@ -