小程序this.setdata is not a function或者that.setdata is not a function

that.setdata is not a function中的setData,D要为大写
应该是that.setData is not a function
发现错误之后真是哭笑不得,这么简单的错误而导致程序没有响应,所以敲代码时一定要严谨仔细认真

猜你喜欢

转载自blog.csdn.net/zhoudaxiaq/article/details/106050981