From d1b3e01d871e95a7472900225fa2b2d545aef19c Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 7 Oct 2024 13:36:27 +0200 Subject: [PATCH] chore: refs #8019 refactor css scoped --- src/components/common/VnDate.vue | 36 ++++++++++++++++++++++++++++++++ src/components/ui/VnImg.vue | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/src/components/common/VnDate.vue b/src/components/common/VnDate.vue index 4b65ec4da..cdfa0d258 100644 --- a/src/components/common/VnDate.vue +++ b/src/components/common/VnDate.vue @@ -9,3 +9,39 @@ const model = defineModel({ type: [String, Number], required: true }); :options="$attrs.options" /> + diff --git a/src/components/ui/VnImg.vue b/src/components/ui/VnImg.vue index ceb4e8468..1b57c20d0 100644 --- a/src/components/ui/VnImg.vue +++ b/src/components/ui/VnImg.vue @@ -58,7 +58,7 @@ defineExpose({ :class="{ zoomIn: zoom }" :src="getUrl()" v-bind="$attrs" - @click.stop="show = $props.zoom ? true : false" + @click.stop="show = $props.zoom" spinner-color="primary" />