弥补组件对最小宽度的响应式绑定

This commit is contained in:
aixianling
2024-08-23 10:29:30 +08:00
parent 6ad47f207a
commit 47e31b127d

View File

@@ -143,6 +143,10 @@ export default {
},
loading(v) {
!v && this.$nextTick(() => this.$refs.sendInput.focus())
},
dialogWidth(v) {
const dom = this.$el.querySelector(".vdr")
dom.style.minWidth = `${v}px`
}
},
created() {