Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

子菜单显示异常。 #547

Closed
3 tasks done
slcnx opened this issue Jul 20, 2022 · 7 comments
Closed
3 tasks done

子菜单显示异常。 #547

slcnx opened this issue Jul 20, 2022 · 7 comments
Labels
Bug Something isn't working Need More Info Further information is requested

Comments

@slcnx
Copy link

slcnx commented Jul 20, 2022

Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist


Expected behavior

next 子菜单应该正常显示

Actual behavior

不会正常显示
配置文件定义为
menu:
主页: / || fa fa-home
Docs:
default: /docs/ || fa fa-book
Working Skills:
default: /skills/ || iconfont icon-yonggong
Python: /python || iconfont icon-Python
Linux: /linux || iconfont icon-linux
DevOps: /devops || iconfont icon-a-zu5820
Tools: /tools || iconfont icon-Tools
Favorite:
default: /favorite || iconfont icon-favorite
Creative Cloud: /cc || iconfont icon-CreativeCloud
反爬虫AST原理与还原混淆实战: /反爬虫AST原理与还原混淆实战
Django Vue: /django_vue

这样定义的子菜单,在Favorite菜单下的子菜单不会显示。
v8.8.1 版本正常
最新版本不显示

@slcnx slcnx added the Bug Something isn't working label Jul 20, 2022
@welcome
Copy link

welcome bot commented Jul 20, 2022

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@slcnx
Copy link
Author

slcnx commented Jul 20, 2022

menu:
  主页: /  ||  fa fa-home
  Docs:
    default: /docs/ || fa fa-book
    Working Skills:
      default: /skills/ || iconfont icon-yonggong
      Python: /python || iconfont icon-Python
      Linux:  /linux || iconfont icon-linux
      DevOps: /devops || iconfont icon-a-zu5820
      Tools: /tools || iconfont icon-Tools
    Favorite:
      default: /favorite || iconfont icon-favorite
      Creative Cloud:  /cc || iconfont icon-CreativeCloud
      反爬虫AST原理与还原混淆实战: /反爬虫AST原理与还原混淆实战
      Django Vue: /django_vue

@stevenjoezhang
Copy link
Member

谢谢反馈,8.11.0 版本对子菜单有过大改,可能引入了新的问题: #492
会进一步测试

@stevenjoezhang
Copy link
Member

default: /favorite || iconfont icon-favorite

改成

default: /favorite/ || iconfont icon-favorite

加一个 /
否则路径计算的不一样

@slcnx
Copy link
Author

slcnx commented Jul 31, 2022

谢谢你的回复,我当前按你说的,路径结束添加/结尾时,同样在最新版本是不正常的。我也测试了,的确是在v8.10.1版本是正常的。v8.11版本就不正常了。

menu:
  主页: /  ||  fa fa-home
  目录:
    default: /docs/ || fa fa-book
    Working Skills:
      default: /skills/ || iconfont icon-yonggong
      Python: /python/ || iconfont icon-Python
      Linux:  /linux/ || iconfont icon-linux
      DevOps: /devops/ || iconfont icon-a-zu5820
      Tools: /tools/ || iconfont icon-Tools
    Books:
      default: /favorite/ || iconfont icon-favorite
      Creative Cloud:  /cc/ || iconfont icon-CreativeCloud
      反爬虫AST原理与还原混淆实战: /反爬虫AST原理与还原混淆实战/
      Django Vue: /django_vue/ || iconfont icon-django
    About Me:
      default: /about/ || iconfont  icon-about
      简历: /bio/ ||  iconfont icon-profile-resume-biodata-paper-office-hr-human-research-feaffaf
      日志: /notes/ || iconfont icon-rizhi
  tags: /tags/ || fa fa-tags
  archives: /archives/ || fa fa-archive
  categories: /categories/ || fa fa-th
  schedule: /schedule/ || fa fa-calendar
  sitemap: /sitemap.xml || fa fa-sitemap
  commonweal: /404/ || fa fa-heartbeat
  # 显眼的位置
  Linux:  /docs/skills/linux/ || iconfont icon-linux
  DevOps: /docs/skills/devops/ || iconfont icon-a-zu5820
  Django Vue: /docs/favorite/django_vue/ || iconfont icon-django
  Power Shell: /powershell/ || iconfont icon-powershell

@stevenjoezhang
Copy link
Member

由于无法复现这个问题,我将关闭这个 issue。如果问题仍然存在,请提供能复现问题的完整博客源码。

@stevenjoezhang stevenjoezhang added the Need More Info Further information is requested label May 12, 2024
Copy link

We would appreciate it if you could provide us with more info about this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Need More Info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants