hdy
7 天以前 b9df2fc5c64a1d989991655a9e42e4d1f2ec4075
提交 | 用户 | 时间
a6316e 1 <script>
A 2 export default {
3   created() {
4     const { params, query } = this.$route
5     const { path } = params
6     this.$router.replace({ path: '/' + path, query })
7   },
8   render: function(h) {
9     return h() // avoid warning message
10   }
11 }
12 </script>