diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index ec836f2cd..96028862a 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -26,7 +26,7 @@ const value = computed({ emit('update:modelValue', value); }, }); - +const hover = ref(false); const styleAttrs = computed(() => { return $props.isOutlined ? { @@ -41,6 +41,10 @@ const onEnterPress = () => { emit('keyup.enter'); }; +const handleValue = (val = null) => { + value.value = val; +}; + const focus = () => { vnInputRef.value.focus(); }; @@ -51,20 +55,33 @@ defineExpose({ diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue index 66da9b7bf..2053eceb1 100644 --- a/src/components/common/VnInputDate.vue +++ b/src/components/common/VnInputDate.vue @@ -1,7 +1,6 @@