|
|
@@ -48,7 +48,7 @@ function addPath(ele, first) {
|
|
|
const isChild = ele[propsDefault.children] && ele[propsDefault.children].length !== 0;
|
|
|
if (!isChild) ele[propsDefault.children] = [];
|
|
|
if (!isChild && first && !isURL(ele[propsDefault.path])) {
|
|
|
- ele[propsDefault.path] = ele[propsDefault.path] + '/index'
|
|
|
+ ele[propsDefault.path] = ele[propsDefault.path]
|
|
|
} else {
|
|
|
ele[propsDefault.children].forEach(child => {
|
|
|
addPath(child);
|