mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
fix(components): view tag does not render (#4198)
This commit is contained in:
parent
598fb86627
commit
6864124d4e
@ -81,7 +81,7 @@
|
||||
class="el-input__icon el-input__clear"
|
||||
@click="handlePasswordVisible"
|
||||
>
|
||||
<view />
|
||||
<icon-view />
|
||||
</el-icon>
|
||||
<span v-if="isWordLimitVisible" class="el-input__count">
|
||||
<span class="el-input__count-inner">
|
||||
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user