Unable to update data after echoing using el-date-picker

Problem: After using the date picker, the response is normal, but the date cannot be modified.

this.form.dates = [this.form.startTime,this.form.endTime]

Solution: Use $set assignment

this.$set(this.form,'dates',[this.form.startTime,this.form.endTime])

Guess you like

Origin blog.csdn.net/qq_38410795/article/details/130968677