错误示例
this.leftColumn = {...this.Columns};
this.rightColumn = {...this.Columns};
1
2
正确示例
this.leftColumn = JSON.parse(JSON.stringify(this.Columns));
this.rightColumn = JSON.parse(JSON.stringify(this.Columns));
————————————————
错误示例
this.leftColumn = {...this.Columns};
this.rightColumn = {...this.Columns};
1
2
正确示例
this.leftColumn = JSON.parse(JSON.stringify(this.Columns));
this.rightColumn = JSON.parse(JSON.stringify(this.Columns));
————————————————