解决方法:在table中添加一个boolean类型的key值,当数据发生变化时改变key的值 this.comKey = !this.comKey;
<el-table :data="speThree.topics" :key="comKey"> </table>
// el-table中的数据发生变化
this.comList.sunList[this.sitetwo].topics[this.sitethree] = topic_list;
this.comKey = !this.comKey;