搜索页面
This commit is contained in:
parent
3dd1510d12
commit
e96ee52952
@ -168,7 +168,8 @@
|
|||||||
if (!meta?.hidden && reg.test(title) && !children?.length) {
|
if (!meta?.hidden && reg.test(title) && !children?.length) {
|
||||||
ret.push({
|
ret.push({
|
||||||
name: parent?.title ? `${parent.title} > ${title}` : title,
|
name: parent?.title ? `${parent.title} > ${title}` : title,
|
||||||
path: parent?.path ? replacePath(parent.path) : replacePath(path),
|
// path: parent?.path ? replacePath(parent.path) : replacePath(path),
|
||||||
|
path: path?path:parent?.path,
|
||||||
icon,
|
icon,
|
||||||
key,
|
key,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user