search

Home  >  Q&A  >  body text

angular.js - In ui-view in angular, $state.params is used to obtain the state parameters of the current page. What is the similar syntax in vue?

In ui-view in Angular, $state.params is used to obtain the state parameters of the current page. What is the syntax similar to $state.params in Vue?

巴扎黑巴扎黑2813 days ago572

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-05-15 17:14:01

    If using vue-router的话,就是this.$route.params

    reply
    0
  • Cancelreply