疯狂的狮子li
2020-06-12 c53d5fd1f68e9a681f8437d0b9fcc264dc4b65c2
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>