https://juejin.cn/post/6911701157647745031
computed: { dateRange () { const { start, end } = this return { start, end } } })watch: { dateRange (val) { console.log(val) } }备注const { xxx } = this.state;上面的写法是es6的写法,其实就相当于:const xxx = this.state.xxxconst {comment,index,deleteComment...