let h = this.$createElement;
window.vm = this
this.$msgbox({
message: h("el-date-picker", {
domProps: {
value: this.batch_change_time
},
on: {
change: (e) => {
this.batch_change_time = e
}
}
})
})
the requirement is to pop up a msgbox to select the time.
now there are two problems:
- change will not trigger (input can)
- value does not seem to be bound to the component. The date selector content is still empty after the date selected
am I writing it wrong?