ExtJs 4.1 store sync 的问题

Tony_xiaofeng 2013-02-22 04:38:49
调用store sync方法的时候,用fireBug每次JSON中都会多个id的属性,导致spring mvc转换错误,,,,
...全文
298 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
给store的reader增加 idProperty: 'menuId',如果没配置ext会自动增加的 idProperty : String The name of the field treated as this Model's unique id. ... The name of the field treated as this Model's unique id. Defaults to 'id'. Defaults to: "id"
Tony_xiaofeng 2013-02-22
  • 打赏
  • 举报
回复


我就没弄明白这ID从哪儿来的。。。

87,992

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧