弥补组件对最小宽度的响应式绑定
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user