v1.3.0 Mobile Nested Menu Does Not Display Subtitles #4042
Closed
Description
Describe the bug
v1.3.0 手机端嵌套菜单不显示小标题
v1.3.0 Mobile Nested Menu Does Not Display Subtitles
NavItem[]
const navBar: DefaultTheme.NavItem[] = [
{text: '首页', link: '/index'},
//-----------
{
text: '工具集',
items: [
{
text: '工具1',
noIcon:true,
items: [
{text: 'a', link: '/a'},
{text: 'a', link: '/a'},
{text: 'a', link: '/a'},
]
},
{
text: '工具2',
items: [
{text: 'b', link: '/b'},
{text: 'b', link: '/b'},
{text: 'b', link: '/b'},
]
}
]
},
//-----------
{text: '关于我', link: '/about'}
]
当我使用 v1.2.3 时一切正常。
Everything worked fine when I was using v1.2.3.
My English is terrible, and I used a translation tool, so I hope this is understandable.
Reproduction
I have reproduced the issue. stackblitz
Expected behavior
正常显示
Displayed normally
System Info
System:
OS: Windows 11 10.0.22631
CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
Memory: 38.28 GB / 63.19 GB
Binaries:
Node: 18.20.4 - ~\AppData\Local\fnm_multishells\106552_1720946934721\node.EXE
npm: 10.7.0 - ~\AppData\Local\fnm_multishells\106552_1720946934721\npm.CMD
Browsers:
Edge: Chromium (126.0.2592.102)
Internet Explorer: 11.0.22621.3527
Additional context
No response
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.