iview的table中添加switch,删除行时报错
 发布于 8 年前  作者 lzdylan  9364 次预览  最后一次回复是 8 年前  来自 问答 

在点击删除按钮的时候,数据可以从数据库里删掉,但是会报错 untitled4.png untitled1.png untitled2.png untitled1.png

6 回复
im-here

帮你艾特 官方人员 @jingsam

htoooth

别使用截图啊

htoooth

我碰到过,解决方案就在render 中去判断 data[index] 中的值是否存在

htoooth

应该是 data 和 table 中的数据不同步造成的

lzdylan

@htoooth 谢谢你,非常感谢,发自肺腑的!问题解决了,再次感谢你,好人一生平安!