mpvue操作列表数组时报错
this.lists.splice(i,1)时会报错,错误如下
Error: Failed to execute ‘replaceChild’ on ‘Node’: The node to be replaced is not a child of this node.
先设置this.lists = []; 然后setTimeOut 100毫秒将数组重新赋值就不报错,但是这不是办法呀,求帮助