tweak
This commit is contained in:
parent
65af4ae6c8
commit
234007f98c
|
|
@ -179,6 +179,11 @@ function getMenu() {
|
|||
},
|
||||
}];
|
||||
|
||||
if (props.menu) {
|
||||
items.unshift(null);
|
||||
items = props.menu.concat(items);
|
||||
}
|
||||
|
||||
if (props.refresher) {
|
||||
items = [{
|
||||
icon: 'ti ti-refresh',
|
||||
|
|
@ -191,11 +196,6 @@ function getMenu() {
|
|||
}, ...items];
|
||||
}
|
||||
|
||||
if (props.menu) {
|
||||
items.unshift(null);
|
||||
items = props.menu.concat(items);
|
||||
}
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue