feat: 完成菜单结构调整

This commit is contained in:
neo 2024-12-28 17:26:56 +08:00
parent f38a1a806e
commit b402c41924
4 changed files with 14 additions and 6 deletions

View File

@ -79,11 +79,11 @@ const CaskAndFormula = ({}) => {
};
const openCaskDetail = item => {
window.open('/app-detail?cid=' + item.id);
window.open('/app/detail?cid=' + item.id);
};
const openFormulaDetail = item => {
window.open('/app-detail?fid=' + item.id);
window.open('/app/detail?fid=' + item.id);
};
const onSearch = value => {

View File

@ -44,7 +44,17 @@ export default defineConfig({
title: '快系列-你快了吗',
children: ['/install/stable-diffusion-webui', '/install/nvm-for-nodejs', '/install/game-porting-toolkit'],
}
]
],
'/app': [
{
title: 'App',
children: ['/app/homebrew'],
},
{
title: 'Detail',
children: ['/app/detail'],
}
],
},
extraBabelPlugins: [
[

View File

@ -1,6 +1,4 @@
---
nav:
hide: true
toc: false
sidemenu: false
filePath:

View File

@ -1,6 +1,6 @@
---
nav:
title: 应用
title: 软件
toc: false
sidemenu: false
filePath: