diff --git a/packages/components/input/src/input.vue b/packages/components/input/src/input.vue index 28c7026b6e..15edb782d2 100644 --- a/packages/components/input/src/input.vue +++ b/packages/components/input/src/input.vue @@ -81,7 +81,7 @@ class="el-input__icon el-input__clear" @click="handlePasswordVisible" > - + @@ -146,7 +146,7 @@ import { onUpdated, } from 'vue' import { ElIcon } from '@element-plus/components/icon' -import { CircleClose } from '@element-plus/icons' +import { CircleClose, View as IconView } from '@element-plus/icons' import { ValidateComponentsMap } from '@element-plus/utils/icon' import { elFormKey, elFormItemKey } from '@element-plus/tokens' import { useAttrs, useFormItem } from '@element-plus/hooks' @@ -169,7 +169,7 @@ const PENDANT_MAP = { export default defineComponent({ name: 'ElInput', - components: { ElIcon, CircleClose }, + components: { ElIcon, CircleClose, IconView }, inheritAttrs: false,