fix(select-v2): fix select-v2 inputWidth is not defined (#2510)

This commit is contained in:
清尘 2021-07-13 17:35:49 +08:00 committed by GitHub
parent 10d24a76ab
commit 8a9a0e38df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@
>
<span
class="el-select-v2__tags-text"
:style="{ maxWidth: inputWidth - 123 + 'px' }"
:style="{ maxWidth: states.inputWidth - 123 + 'px' }"
>{{ states.cachedOptions[0].label }}</span>
</el-tag>
<el-tag