2025年extjs之TypeError- d.read is not a function解决方案

extjs之TypeError- d.read is not a function解决方案在创建如下代码时报出此错 TypeError d read is not a function 1 Ext define shebyxgl sheb model 2 extend Ext data Model 3 fields shebid shebname

大家好,我是讯享网,很高兴认识大家。

在创建如下代码时报出此错:TypeError: d.read is not a function


讯享网

 1 Ext.define('shebyxgl_sheb_model', {  2 extend: 'Ext.data.Model',  3 fields: [ 'shebid', 'shebname' ]  4 });  5 var sheb_store = Ext.create('Ext.data.Store', {  6 model: 'shebyxgl_she_model',//model名称引用错误,少了一个字母b  7  proxy: {  8 url: '../shebyxgl/getSheb',  9 type: 'ajax', 10 method: 'GET', 11  reader: { 12 type: 'json', 13 root: 'datas' 14  } 15  } 16 });

讯享网
小讯
上一篇 2025-03-14 19:17
下一篇 2025-03-30 19:54

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/98378.html