feat: 下拉框多选样式适配新画布

This commit is contained in:
fit2cloud-chenyw 2021-06-10 17:33:20 +08:00
parent 38dea1ad1d
commit 7bf65480ac

View File

@ -83,7 +83,7 @@ export default {
kids.forEach(kid => {
contentWidth += kid.offsetWidth
})
this.showNumber = contentWidth > (this.$refs.deSelect.$refs.tags.clientWidth * 0.9)
this.showNumber = contentWidth > ((this.$refs.deSelect.$refs.tags.clientWidth - 30) * 0.9)
})
},