记一次ionic-tabs 切换到指定tab状态下的问题
$ionicTabsDelegate.select(index); // index为tabs的索引,需要注意的是页面上有多个tab组需指定标识。
页面上指定的ion-tabs 中添加(delegate-handle=“reimtab”);
i
o
n
i
c
T
a
b
s
D
e
l
e
g
a
t
e
.
ionicTabsDelegate.
ionicTabsDelegate.getByHandle(“reimtab”).select(index);