this.copyData = Object.assign({}, this.$route.params.data, {
id: undefined,
code: undefined,
createTime: undefined,
statusDesc: undefined,
})
将对象中的属性设置为undefined相当于删除