📅  最后修改于: 2022-03-11 15:01:24.962000             🧑  作者: Mango
export default {
data () {
return {
h2: 0,
// other attributes...
};
},
methods: {
resetFields () {
Object.assign(this.$data, this.$options.data.call(this));
}
}
}