From fcad412663c3c23fd87b255da1710e28cff44b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Tue, 1 Aug 2023 17:12:51 +0800 Subject: [PATCH] test --- components/common/CommonAlert.vue | 4 +--- components/common/CommonCheckbox.vue | 4 +--- components/common/CommonCropImage.vue | 5 +---- components/common/CommonInputImage.vue | 4 +--- components/common/CommonRadio.vue | 4 +--- components/common/CommonTabs.vue | 4 +--- components/list/ListEntry.vue | 4 +--- components/modal/ModalDialog.vue | 5 +---- components/modal/ModalMediaPreviewCarousel.vue | 4 +--- components/nav/NavBottomMoreMenu.vue | 8 +++----- .../NotificationSubscribePushNotificationError.vue | 4 +--- components/publish/PublishLanguagePicker.vue | 8 +++----- components/publish/PublishVisibilityPicker.vue | 8 +++----- components/settings/SettingsProfileMetadata.vue | 8 +++----- pages/[[server]]/lists.vue | 4 ++-- pages/settings/profile/appearance.vue | 2 +- 16 files changed, 25 insertions(+), 55 deletions(-) diff --git a/components/common/CommonAlert.vue b/components/common/CommonAlert.vue index cc2bd0c1..f9381c9a 100644 --- a/components/common/CommonAlert.vue +++ b/components/common/CommonAlert.vue @@ -2,9 +2,7 @@ const emit = defineEmits<{ (event: 'close'): void }>() -const { modelValue: visible } = defineModels<{ - modelValue?: boolean -}>() +const visible = defineModel() function close() { emit('close') diff --git a/components/common/CommonCheckbox.vue b/components/common/CommonCheckbox.vue index 7cd7efcf..24e35855 100644 --- a/components/common/CommonCheckbox.vue +++ b/components/common/CommonCheckbox.vue @@ -5,9 +5,7 @@ defineProps<{ iconChecked?: string iconUnchecked?: string }>() -const { modelValue } = defineModels<{ - modelValue?: boolean | null -}>() +const modelValue = defineModel()