How to mark a parent menu as active if any of it's child is active using Laravel and Eloquent?

前端 未结 0 1296
感动是毒
感动是毒 2020-12-31 19:13

I want to create a list of menu for my dashboard. It consists of menu name and url. Each item acts like this:

  • Menu 1 <-- this menu is active because
相关标签:
回答
  • 消灭零回复
提交回复
热议问题