mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-06-24 21:39:15 +08:00
feat: 完成菜单结构调整
This commit is contained in:
parent
f38a1a806e
commit
b402c41924
@ -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 => {
|
||||
|
12
.umirc.ts
12
.umirc.ts
@ -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: [
|
||||
[
|
||||
|
@ -1,6 +1,4 @@
|
||||
---
|
||||
nav:
|
||||
hide: true
|
||||
toc: false
|
||||
sidemenu: false
|
||||
filePath:
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
nav:
|
||||
title: 应用
|
||||
title: 软件
|
||||
toc: false
|
||||
sidemenu: false
|
||||
filePath:
|
Loading…
x
Reference in New Issue
Block a user