0
我有一個列表,當點擊使用push()時,每個項目鏈接到不同的頁面。我推動它們,但是當它們做的時候,它們沒有默認的標題欄或者後退按鈕,它們應該與當前頁面上的頁面一起出現。有任何想法嗎?這裏是我的代碼:沒有標題欄或後退按鈕正在生成sencha touch
查看被推:
Ext.define('myApp.view.Appearances', {
extend: 'Ext.Panel',
xtype: 'Appearances',
config: {
title: '<span class="logo"></span>',
scrollable: 'vertical',
tpl: [
'<h1>Appearances</h1>'
]
}
});
控制器:
this.getMain().push({
xtype: 'Appearances'
});
啊,就是這樣。太好了謝謝! – MrFirthy