懒羊羊
2024-03-21 995a733a26dd1856c0dd7286f2dcde5ca1434bca
提交 | 用户 | 时间
e57a89 1 <script>
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>