Object.assign(this.$data, this.$options.data()) // 全部重置
Object.assign(this.$data.form, this.$options.data().form) // 部分重置
this. o p t i o n s . d a t a ( ) 是 v u e 实 例 初 始 化 时 的 d a t a 数 据 , 只 读 属 性 t h i s . options.data()是vue实例初始化时的data数据,只读属性 this. options.data()是vue实例初始化时的data数据,只读属性this.data是当前的data数据