Logo white

antissoft / HongHua-JJ

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • HongHua-JJ
  • 机具(管理端)
  • src
  • views
  • redirect
  • index.vue
  • 项目初始化
    5a92a12b
    “wangming” authored
    2026-02-10 21:52:05 +0800  
    Browse Code »
index.vue 277 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<script>
export default {
  created() {
    const { params, query } = this.$route
    let { path } = params
    path = path ? path : ''

    this.$router.replace({ path: '/' + path, query })
  },
  render: function (h) {
    return h() // avoid warning message
  }
}
</script>