data: { tabs:[] } let tabs = this.data.tabs; //浅拷贝 let tabs = JSON.parse(JSON.stringify(this.data.tabs)); //深拷贝