Files
jsowell-charger-web/jsowell-ui/src/views/redirect.vue
2023-03-04 16:29:55 +08:00

13 lines
246 B
Vue

<script>
export default {
created() {
const { params, query } = this.$route
const { path } = params
this.$router.replace({ path: '/' + path, query })
},
render: function(h) {
return h() // 避免警告消息
}
}
</script>