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"
|
class="el-input__icon el-input__clear"
|
||||||
@click="handlePasswordVisible"
|
@click="handlePasswordVisible"
|
||||||
>
|
>
|
||||||
<view />
|
<icon-view />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
<span v-if="isWordLimitVisible" class="el-input__count">
|
<span v-if="isWordLimitVisible" class="el-input__count">
|
||||||
<span class="el-input__count-inner">
|
<span class="el-input__count-inner">
|
||||||
@ -146,7 +146,7 @@ import {
|
|||||||
onUpdated,
|
onUpdated,
|
||||||
} from 'vue'
|
} from 'vue'
|
||||||
import { ElIcon } from '@element-plus/components/icon'
|
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 { ValidateComponentsMap } from '@element-plus/utils/icon'
|
||||||
import { elFormKey, elFormItemKey } from '@element-plus/tokens'
|
import { elFormKey, elFormItemKey } from '@element-plus/tokens'
|
||||||
import { useAttrs, useFormItem } from '@element-plus/hooks'
|
import { useAttrs, useFormItem } from '@element-plus/hooks'
|
||||||
@ -169,7 +169,7 @@ const PENDANT_MAP = {
|
|||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'ElInput',
|
name: 'ElInput',
|
||||||
|
|
||||||
components: { ElIcon, CircleClose },
|
components: { ElIcon, CircleClose, IconView },
|
||||||
|
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user