Commit a6acb406 by chenwq

路由跳转

1 parent f5fc7de8
const staticRoutes = Object.freeze([{
const staticRoutes = Object.freeze([
{
name: 'default',
path: '/',
redirect: { name: 'liveList' }
......@@ -10,10 +11,10 @@ const staticRoutes = Object.freeze([{
meta: {}
},
{
name: 'zoneList',
path: '/zoneList/index',
component: resolve => require([`@/views/zoneList/index.vue`], resolve),
name: 'jumpLive',
path: '/liveList/jumpLive',
component: resolve => require([`@/views/liveList/jumpLive.vue`], resolve),
meta: {}
}
])
export default staticRoutes
\ No newline at end of file
export default staticRoutes
<template>
<div></div>
</template>
<script>
export default {
name: 'jumpLive',
data() {
return {
}
},
mounted() {
this.$router.push({
path: '/liveList/index'
})
},
methods: {
},
}
</script>
<style lang="scss" scoped>
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!