Cannot read property 'child' of undefined
来源:7-8 首页菜单(2)

我和我自己
2019-12-10
老师,得空帮忙看下这个问题,参考了其他同学的答案,也在网上查了一部分内容,没有找到解决办法,有说 __ob__: Observer
是这个问题,但是使用JSON.parse(JSON.stringify(this.list))
后也没有解决,麻烦老师,有空帮忙看下
写回答
1回答
-
同学没这么复杂啊,你的问题是 curdetail 为 undefined,才导致 curdetail.child 出错,你调试下 curdetail 为啥为 undefined?
032020-05-27
相似问题
取不到child
回答 2