In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of how to solve the pit of the MENU menu in elementUI, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value, I believe you will have something to gain after reading this article on how to solve the pit of the MENU menu in elementUI. Let's take a look.
Requirements: click the button on the current page to jump to the home page and assign a value to the default-active bound in menu
Problem: the page has jumped over, but the menu selection has not changed at all
Solution: directly bind the route of the current page to default-active, while changing index to the current route, so that when you jump to the page through the non-click navigation menu, there is no need to manually change the selected items of the navigation menu, it will select the tab item of the current page, perfect solution!
Note: the router attribute is important, and so is the default-active= "this.$route.path".
Home article timeline Live according to footprints About my message board. The background management article on "how to solve the hole of the MENU menu in elementUI" ends here. Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to solve the pit of the MENU menu in elementUI". If you want to learn more knowledge, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.