在使用 xtype 的时候,若没有定义所使用的类名,会出现这样的错误信息,如
var panel = new Ext.Panel({ ... items: [{ xtype: 'button', text: 'OK' }] };
在这里,若button没有定义,就会出现TypeError: namespace is undefined 的错误,很多时候是出现xtype写错的情况,如 button 写成 xutton
在使用 xtype 的时候,若没有定义所使用的类名,会出现这样的错误信息,如
var panel = new Ext.Panel({ ... items: [{ xtype: 'button', text: 'OK' }] };
在这里,若button没有定义,就会出现TypeError: namespace is undefined 的错误,很多时候是出现xtype写错的情况,如 button 写成 xutton
转载于:https://www.cnblogs.com/laipDIDI/articles/2915986.html
8110

被折叠的 条评论
为什么被折叠?
