Newer
Older
baseResourceFront / src / views / redirect / index.vue
StephanieGitHub on 5 Mar 2021 254 bytes first commit
<script>
export default {
  beforeCreate() {
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })
  },
  render: function(h) {
    return h() // avoid warning message
  }
}
</script>