亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

請教?。?! vue組件切換和路由跳轉或嵌套路由哪個好?速度一樣嗎?

請教!??! vue組件切換和路由跳轉或嵌套路由哪個好?速度一樣嗎?

繁花如伊 2018-08-18 11:25:44
vue組件切換和路由跳轉哪個好?性能速度一樣嗎,各自的區別是什么呀?假如有兩個tab,使用組件可以用<component v-bind:is="currentTabComponent"></component>路由使用routes: [    {                path: 'page1',       component: page1     },     {      path: 'page2',       component: page2     }]嵌套路由使用routes: [{ path: '/page/:id', component: page,   children: [     {                path: 'page1',       component: page1     },     {      path: 'page2',       component: page2     }   ] }]
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 2528 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號