javascript - There is a lot of data in the folding navigation bar on the left side of the background management system. How can I directly locate a specific menu item through search and expand the current menu?
阿神2017-05-16 13:36:12
0
1
544
Similar to this, you can directly search for "Log View" to accurately locate
Let me tell you an idea, can you try it? Your drop-down menu should be able to extract li. You make a search box, enter the name of the menu, and then look for the li corresponding to this name. Then you find the parent menu of this li. Open, and then you set this submenu to the selected state. For example, for your log management, you enter log management, confirm, and then find the li of your log management, then find the parent menu of log management, system management, open system management, and then select the submenu of log management. Select it so that your basic purpose is achieved
Let me tell you an idea, can you try it? Your drop-down menu should be able to extract li. You make a search box, enter the name of the menu, and then look for the li corresponding to this name. Then you find the parent menu of this li. Open, and then you set this submenu to the selected state. For example, for your log management, you enter log management, confirm, and then find the li of your log management, then find the parent menu of log management, system management, open system management, and then select the submenu of log management. Select it so that your basic purpose is achieved