Ext.data.HttpProxy传参问题

来源:互联网 发布:现在最流行的编程语言 编辑:程序博客网 时间:2024/04/28 20:51

需要使用baseParmas传参才行.

  1. var store = new Ext.data.Store({   
  2.     baseParams: {foo: 'bar'},   
  3.     proxy: new Ext.data.HttpProxy({   
  4.         method: 'POST',   
  5.         url: 'http://.....'  
  6.     }),   
  7.     reader: new Ext.data.JsonReader({}, ['id''title'])   
  8. });  
原创粉丝点击