watch: {
    '$route' () {
      this.type = this.$route.params.type
      this.loadData()
    }
  },

  

相关文章: