|
楼主 |
发表于 2016-9-8 13:06:22
|
显示全部楼层
本帖最后由 easyboy519 于 2016-9-8 13:15 编辑
这是我的返回的JSON对象
{
"@type":"table",
"rows":[{"cd":{"value":"E"},"gx":{"value":"A"},"hd":{"value":"D"},"jc":{"value":"C"},"reviewMonth":{"value":4},"reviewer":{"value":"侯凤敏"},"sm":{"value":"A"},"userdata":{"recordState":"none"}}],
"userdata":{"relationAlias":"reviewMonth,gx,jc,sm,cd,hd,reviewer","relationTypes":"Integer,String,String,String,String,String,String"}
}为什么刷新一次页面之后data里面就有数据了?加载进来的就是上面的对象。
我试着在loadData前后分别调用一次refrehData,之后就可以了,实在想不明白
|
|