Home > front end > Vue bounced on the map button to jump the rotor page no response
Vue bounced on the map button to jump the rotor page no response
Time:09-18
As shown in figure I bounced on the map to add a button to click into the secondary pages, vue + router index. The js also configured the child pages Page is not click on the button, the app. Vue has & lt; The router - view/& gt; Tried some way, it's no use, bosses help me have a look at what's going on
The formatter click events
Js
Index. Js child pages routing
CodePudding user response:
Is there an error page
CodePudding user response:
<script> The import Category from '../category/category. Vue '; Export the default { Name: "Child," Components: {Category} } </script>
<style scoped> . Cityfq { The font-family: sans-serif; font-style:normal; The font - weight: 900; The font - size: 40 px; } The newtime { Margin - left: 0.02 rem; } . The category { display: flex; The justify - content: space - around; margin-top: 10px; Margin - bottom: 8 px; } </style>