求助,页面加载后默认显示某个tab块,怎么实现
直接tab初始化事件
setTimeout(function() {
_g().getWidgetByName("tabpane0").showCardByIndex(1);//显示第二个tab页
}, 500)