修改数据后 添加 如下两行代码:
this.$forceUpdate()//强制更新
this.tableData = JSON.parse(JSON.stringify(this.tableData));//tableData数据更新----(this.tableData 数据值,此时是更新了整个table表)
亲测有效,可以尝试下
修改数据后 添加 如下两行代码:
this.$forceUpdate()//强制更新
this.tableData = JSON.parse(JSON.stringify(this.tableData));//tableData数据更新----(this.tableData 数据值,此时是更新了整个table表)
亲测有效,可以尝试下