angular裡的ui-view裡,取得目前頁面的狀態參數用$state.params,在vue裡類似$state.params的語法是什麼呢?
如果使用vue-router的话,就是this.$route.params
vue-router
this.$route.params
如果使用
vue-router
的话,就是this.$route.params