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) {
|
if (props.refresher) {
|
||||||
items = [{
|
items = [{
|
||||||
icon: 'ti ti-refresh',
|
icon: 'ti ti-refresh',
|
||||||
|
|
@ -191,11 +196,6 @@ function getMenu() {
|
||||||
}, ...items];
|
}, ...items];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.menu) {
|
|
||||||
items.unshift(null);
|
|
||||||
items = props.menu.concat(items);
|
|
||||||
}
|
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue