mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
examlple: Make the items in searchbox more readable.
This commit is contained in:
parent
c23c0b5f42
commit
2d8a05f310
@ -385,6 +385,11 @@ FluObject{
|
|||||||
for(var i=0;i<items.length;i++){
|
for(var i=0;i<items.length;i++){
|
||||||
var item = items[i]
|
var item = items[i]
|
||||||
if(item instanceof FluPaneItem){
|
if(item instanceof FluPaneItem){
|
||||||
|
if (item.parent instanceof FluPaneItemExpander)
|
||||||
|
{
|
||||||
|
arr.push({title:`${item.parent.title} -> ${item.title}`,key:item.key})
|
||||||
|
}
|
||||||
|
else
|
||||||
arr.push({title:item.title,key:item.key})
|
arr.push({title:item.title,key:item.key})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user