vue現在のルーティング情報の動的取得
203 ワード
watch: {
$route: {
handler: function(route) {
console.log(route)
},
immediate: true
}
},
watch: {
$route: {
handler: function(route) {
console.log(route)
},
immediate: true
}
},