that.setData 报 TypeError 错
发布于 4 年前 作者 chao63 20104 次浏览 来自 问答

如下图,现在无法setData到视图层,求指点,应该如何解决?

2 回复

你好,请提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

是不是this 指向问题,把var that = this 放在函数里面呢?

回到顶部