Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tpto
Copy link
Contributor

@tpto tpto commented Jan 22, 2025

What

扩展了Nav组件的mode参数,设置mode为panel后,用悬浮面板展示Nav的二级、三级菜单。最大支持到三级。

Why

实现效果
image

How

调整amis renders中的Nav、 amis ui 中的Menu,增加mode参数。在amis ui的Menu中控制渲染,当mode:panel时,使用PanelMenu组件渲染导航的二级、三级菜单。

@github-actions
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@github-actions github-actions bot added the feat label Jan 22, 2025
@hsm-lv hsm-lv merged commit 73fc1cc into baidu:master Feb 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants