补充一下,

var newvar = this.data.navRightItems;
console.log(newvar);
打印出来还是那些数组,让我怎么修改?

所以你的问题是什么?