NavMenu Navigation menu (problem with default-active currently activating menu index)

1. Use the url path as the index value to trigger the selection of the navigation menu, that is, the default-active function
2. By modifying the path of url, the left navigation menu will also change. Here is no problem
3. If the modified url path is the index that is not found in the menu rendering, the selected state of the left navigation will not change. In theory, if you can"t find a match, the menu should be unchecked.

Please help explain or solve this problem! Thank you!

Jul.12,2022

so brother, have you solved it? I have the same problem


upgrade version!

Menu