mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 07:46:43 +08:00
13 lines
249 B
Vue
13 lines
249 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() // avoid warning message
|
|
}
|
|
}
|
|
</script>
|