diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index 4c7445aab..e716093b5 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -45,7 +45,6 @@ const $props = defineProps({ }); const vnInputRef = ref(null); -const showPassword = ref(false); const value = computed({ get() { return $props.modelValue; @@ -72,6 +71,7 @@ const focus = () => { defineExpose({ focus, + vnInputRef, }); const mixinRules = [ diff --git a/src/pages/Item/ItemRequest.vue b/src/pages/Item/ItemRequest.vue index d96fbca2f..76e4b8083 100644 --- a/src/pages/Item/ItemRequest.vue +++ b/src/pages/Item/ItemRequest.vue @@ -272,11 +272,12 @@ const onDenyAccept = (_, responseData) => {