Ext.setup({
onReady : function(){
Ext.Msg.alert("title","content",Ext.emptyFn);
}
})这样就报错:Uncaught Error: [ERROR][Anonymous] Using Ext.Msg without requiring Ext.MessageBox我用的是sencha-2.1.0版本,求高人指点迷津!
onReady : function(){
Ext.Msg.alert("title","content",Ext.emptyFn);
}
})这样就报错:Uncaught Error: [ERROR][Anonymous] Using Ext.Msg without requiring Ext.MessageBox我用的是sencha-2.1.0版本,求高人指点迷津!
2.1的没用过不能确定是不是这个意思。。
但是楼主要是会调试的话可以调试下代码,然后看看哪里出错了, 这样有助于你定位问题的根本原因
其他类又不需先注明呢?