0
点赞
收藏
分享

微信扫一扫

VUE还原data()数据默认值

我是小瘦子哟 2022-01-16 阅读 63

所有的都还原

Object.assign(this.$data, this.$options.data())

还原某个

Object.assign(this.$data.form, this.$options.data().form)
举报

相关推荐

0 条评论