When there are too many object attributes in data, it is too troublesome to empty them one by one
How to use
this.defaultObj = this.$options.data().defaultObj
key code
this.$options.data()
When there are too many object attributes in data, it is too troublesome to empty them one by one
this.defaultObj = this.$options.data().defaultObj
this.$options.data()