setData赋值失败是原因 如下图?
发布于 7 年前 作者 panjie 2582 次浏览 来自 官方Issues

在data里面定义的 longitude:’ ',    latitude: ’ ’ ,

然后拿出来的时候 var that = this

that.data.longitude就变为空了

打印的res.longitude是有值的。

3 回复

看起来有两个数据 that.longitude 与 that.location.longitude,并没有 that.data.longitude

没看明白要做什么

回到顶部