1
我试图建立我与sencha app build
命令应用程序,但我得到这个错误:煎茶应用程序生成错误
[ERROR] TypeError: 'undefined' is not an object Stack trace:
file:////public/m/app/controller/Nearby.js?_dc=1337687749349 : 62 : App.controller.Nearby#notify
这是我的通知():
notify: function(title, message){
var view = this.getView();
view.setItems({
xtype: 'panel',
html: '<h2>' + title + '</h2><p>' + message + '</p>',
styleHtmlContent: true
});
}
的看法是参考像这样
refs: { view: 'nearbyview' },
并且App.view.Nearby
已将ben添加到另一个视图的所需视图。
我正在运行最新版本的SDK工具。