diff --git a/src/components/common/VnChangePassword.vue b/src/components/common/VnChangePassword.vue index 79784f3c5..d8374498f 100644 --- a/src/components/common/VnChangePassword.vue +++ b/src/components/common/VnChangePassword.vue @@ -2,9 +2,9 @@ import { ref } from 'vue'; import { useI18n } from 'vue-i18n'; import VnRow from '../ui/VnRow.vue'; -import VnInput from './VnInput.vue'; import FetchData from '../FetchData.vue'; import useNotify from 'src/composables/useNotify'; +import VnInputPassword from 'src/components/common/VnInputPassword.vue'; const props = defineProps({ submitFn: { type: Function, default: () => {} }, @@ -70,19 +70,19 @@ defineExpose({ show: () => changePassDialog.value.show() }); - - diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index 3cecf760a..4c7445aab 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -45,6 +45,7 @@ const $props = defineProps({ }); const vnInputRef = ref(null); +const showPassword = ref(false); const value = computed({ get() { return $props.modelValue; @@ -134,7 +135,7 @@ const handleInsertMode = (e) => { hide-bottom-space :data-cy="$attrs.dataCy ?? $attrs.label + '_input'" > -