Sign in

wms / wms-cloud-ui · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms-cloud-ui
  • src
  • views
  • redirect.vue
  • 项目初始化
    72514ba2
    mahuandong authored
    2020-05-22 16:15:48 +0800  
    Browse Code ยป
redirect.vue 249 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
<script>
export default {
  created() {
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })
  },
  render: function(h) {
    return h() // avoid warning message
  }
}
</script>