tweak
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user