此时iView table组件会监听columns和data的改变而重新渲染,如下图正确显示。
案例
注意:不能使用 filters: this.data方式
1、vue加载的时候this.data值为undefined;
2、table组件并不会监听到columns的变化而重新渲染