摘要: 1.json.XXX 2.json["XXX"] 第二种方法使用场景,当属性值是变量时。如图所示: 阅读全文
posted @ 2017-03-14 14:19 zipon 阅读(13540) 评论(0) 推荐(0) 编辑
摘要: ng-repeat会创建一个子作用域,所以在ng-repeat下面要使用参数时,要用$parent.XXXX参数。 示例如下: 阅读全文
posted @ 2017-03-14 14:17 zipon 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 使用的json包是alibaba.fastjson。 把TypeUtils.compatibleWithJavaBean = true; 如图位置: 阅读全文
posted @ 2017-03-14 14:14 zipon 阅读(5324) 评论(0) 推荐(0) 编辑