1、强制刷新
/*修改属性*/
this.list[0].height = 100;
/*紧接着跟一条强制更新指令*/
this.$forceUpdate();
2、$set 和 splice
//方法一
this.$set(this.arr,index,newValue); //arr=需要更新的数组,index=需要更新值的底标,newValue=更新的值
//方法二
this.arr.splice(indexOfValue,1,newValue); // indexOfValue=需要更换的底标,newValue=更新的值
3、用v-if
v-if