目的:總是忘記, 實際上demo項目說的也很明白 想要結果如下
解決辦法: 需要有一個空白跳轉頁即可
最外層的index.html
// 空白跳轉頁 <template> <div> <router-view /> </div> </template>
注意router里的二級目錄(第二個children的)指向應該是
component: () => import("@/views/productXXXXX/index"),
目的:總是忘記, 實際上demo項目說的也很明白 想要結果如下
解決辦法: 需要有一個空白跳轉頁即可
最外層的index.html
// 空白跳轉頁 <template> <div> <router-view /> </div> </template>
注意router里的二級目錄(第二個children的)指向應該是
component: () => import("@/views/productXXXXX/index"),
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。