使用Lodash
var object = { 'a': 1, 'b': '2', 'c': 3 };
_.omit(object, ['a', 'c']);
// => { 'b': '2' }
方法一:
this.formInline = this._.omit(this.formInline, ['postList'])
方法二:
delete this.formInline.postList
方法一:
this.formInline = this._.omit(this.formInline, ['postList'])
方法二:
delete this.formInline.postList