摘要: var dataObj = eval('(' +data+ ')') data是返回来的json。 dataObj就是json对象了。 为什么要添加 '(' 与 ')' 作为开始于结尾呢? json是以"{}"开始以及结束的,在js中,它会被当做语句块来处理. 阅读全文
posted @ 2016-12-16 14:37 智华 阅读(6363) 评论(0) 推荐(0) 编辑
摘要: 日志错误提示: A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread 解决办法 阅读全文
posted @ 2016-12-16 00:22 智华 阅读(1736) 评论(0) 推荐(0) 编辑