From c4c85fcd78b4bb52c5a6685667f879641ec02313 Mon Sep 17 00:00:00 2001 From: ChenQiuYu Date: Thu, 8 May 2025 14:57:50 +0800 Subject: [PATCH] dev --- src/components/common/Mask.vue | 7 ++ src/components/registration/Edit.vue | 105 ++++++++++++++++----------- src/components/registration/List.vue | 2 +- src/utils/dateUtils.ts | 15 ++++ src/views/registration/index.vue | 5 +- 5 files changed, 90 insertions(+), 44 deletions(-) diff --git a/src/components/common/Mask.vue b/src/components/common/Mask.vue index b1f86fc..b4ae821 100644 --- a/src/components/common/Mask.vue +++ b/src/components/common/Mask.vue @@ -29,6 +29,13 @@ const emit = defineEmits(['close']); const closeBtn = () => { emit('close', false); }; +watch( + () => height, + (newVal) => { + _height.value = newVal == null ? 800 : Number(newVal); + } +); +