mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-06-25 05:49:15 +08:00
feat: 完成菜单结构调整
This commit is contained in:
parent
f38a1a806e
commit
b402c41924
@ -79,11 +79,11 @@ const CaskAndFormula = ({}) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const openCaskDetail = item => {
|
const openCaskDetail = item => {
|
||||||
window.open('/app-detail?cid=' + item.id);
|
window.open('/app/detail?cid=' + item.id);
|
||||||
};
|
};
|
||||||
|
|
||||||
const openFormulaDetail = item => {
|
const openFormulaDetail = item => {
|
||||||
window.open('/app-detail?fid=' + item.id);
|
window.open('/app/detail?fid=' + item.id);
|
||||||
};
|
};
|
||||||
|
|
||||||
const onSearch = value => {
|
const onSearch = value => {
|
||||||
|
12
.umirc.ts
12
.umirc.ts
@ -44,7 +44,17 @@ export default defineConfig({
|
|||||||
title: '快系列-你快了吗',
|
title: '快系列-你快了吗',
|
||||||
children: ['/install/stable-diffusion-webui', '/install/nvm-for-nodejs', '/install/game-porting-toolkit'],
|
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: [
|
extraBabelPlugins: [
|
||||||
[
|
[
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
nav:
|
|
||||||
hide: true
|
|
||||||
toc: false
|
toc: false
|
||||||
sidemenu: false
|
sidemenu: false
|
||||||
filePath:
|
filePath:
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
nav:
|
nav:
|
||||||
title: 应用
|
title: 软件
|
||||||
toc: false
|
toc: false
|
||||||
sidemenu: false
|
sidemenu: false
|
||||||
filePath:
|
filePath:
|
Loading…
x
Reference in New Issue
Block a user