export default { data() { return { form:{ name:"张三", age:13, sex:1, address:"" } } }//重置 data中form的值Object.assign(this.$data.form, this.$options.data().form);