疯狂的狮子Li
2023-01-13 68e57803f3386ab4f5211dd30e4d8ade9d24f0a4
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>