style: 下拉框过滤器样式

This commit is contained in:
fit2cloud-chenyw 2022-04-26 11:31:20 +08:00
parent fd348d7d22
commit 0eed1890dc

View File

@ -227,7 +227,8 @@ export default {
this.onFocus = true this.onFocus = true
// //
this.$nextTick(() => { this.$nextTick(() => {
this.selectOptionWidth = event.srcElement.offsetWidth + 'px' // this.selectOptionWidth = event.srcElement.offsetWidth + 'px'
this.selectOptionWidth = event.srcElement.parentElement.parentElement.offsetWidth + 'px'
}) })
} }