问题
使用vue element-ui
框架时多选框搜索时文字不显示并出现光标闪动
原因
多选框组件判断文字输入框input的宽度太窄导致
解决
调整input输入框的大小, 添加如下样式
<style lang="scss" scoped>
.el-select__tags {
.el-select__input {
width: 50px !important;
}
}
</style>
happy coding!
使用vue element-ui
框架时多选框搜索时文字不显示并出现光标闪动
多选框组件判断文字输入框input的宽度太窄导致
调整input输入框的大小, 添加如下样式
<style lang="scss" scoped>
.el-select__tags {
.el-select__input {
width: 50px !important;
}
}
</style>
happy coding!
每一个不曾起舞的日子,都是对生命的辜负 ^-^
支付宝
微信