mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-07 20:17:42 +08:00
update
This commit is contained in:
@ -420,4 +420,17 @@ Item {
|
||||
nav_list.currentIndex = index
|
||||
}
|
||||
|
||||
function startPageByTitle(title){
|
||||
for(var i=0;i<items.children.length;i++){
|
||||
if(items.children[i].title === title){
|
||||
if(nav_list.currentIndex === i){
|
||||
return
|
||||
}
|
||||
items.children[i].tap()
|
||||
nav_list.currentIndex = i
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user