From cb25a8c4ae61bb7f23300e2919783438927e2e52 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 17 Aug 2021 20:56:33 +0800 Subject: [PATCH] chore: prefer using ref in script setup (#9276) --- src/action-sheet/demo/index.vue | 36 +++++++++---------- src/circle/demo/index.vue | 44 +++++++++++------------ src/collapse/demo/index.vue | 20 +++++------ src/config-provider/demo/index.vue | 18 ++++------ src/coupon-list/demo/index.vue | 26 +++++++------- src/dropdown-menu/demo/index.vue | 42 +++++++++------------- src/field/demo/CustomType.vue | 24 ++++++------- src/field/demo/ErrorInfo.vue | 12 +++---- src/field/demo/FormatValue.vue | 12 +++---- src/field/demo/ShowIcon.vue | 12 +++---- src/form/demo/BasicUsage.vue | 12 +++---- src/form/demo/FieldType.vue | 39 +++++++++----------- src/form/demo/FieldTypeArea.vue | 25 +++++-------- src/form/demo/FieldTypeCalendar.vue | 18 +++++----- src/form/demo/FieldTypeDatetimePicker.vue | 25 +++++-------- src/form/demo/FieldTypePicker.vue | 25 +++++-------- src/form/demo/ValidateRules.vue | 20 +++++------ src/image-preview/demo/index.vue | 22 +++++------- src/share-sheet/demo/index.vue | 36 +++++++++---------- 19 files changed, 199 insertions(+), 269 deletions(-) diff --git a/src/action-sheet/demo/index.vue b/src/action-sheet/demo/index.vue index d369212b2..64ba73ab5 100644 --- a/src/action-sheet/demo/index.vue +++ b/src/action-sheet/demo/index.vue @@ -1,5 +1,5 @@