Files
jsowell-charger-web/jsowell-ui/src/views/redirect.vue

13 lines
246 B
Vue
Raw Normal View History

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