From 3953721424e978966a43510068be8cd6fab14ef2 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 7 Jan 2025 11:18:16 +0100 Subject: [PATCH] fix: refs #7699 fix component --- src/components/common/VnInputPassword.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/common/VnInputPassword.vue b/src/components/common/VnInputPassword.vue index f0e72ab6d..56981c0c3 100644 --- a/src/components/common/VnInputPassword.vue +++ b/src/components/common/VnInputPassword.vue @@ -2,11 +2,8 @@ import VnInput from 'src/components/common/VnInput.vue'; import { ref } from 'vue'; +const model = defineModel({ type: [Number, String] }); const $props = defineProps({ - modelValue: { - type: [String, Number], - default: null, - }, toggleVisibility: { type: Boolean, default: false, @@ -14,18 +11,16 @@ const $props = defineProps({ }); const showPassword = ref(false); -const model = defineModel({ type: [Number, String] });