Commit 1a97f990 by 李伟康

commit

1 parent 3142b13e
......@@ -38,14 +38,12 @@ export default {
]
}
},
watch: {
watchFlag: {
immediate: true,
handler(newval) {
this.showWindow = newval
this.hideLoading()
if(this.$route.path == '/') this.$router.push('coupon')
}
}
},
......@@ -54,7 +52,6 @@ export default {
return this.$store.state.app.showWindow
}
},
mounted() {
},
......
......@@ -49,7 +49,12 @@ const pages = {
}
]
}
let routes = []
let routes = [
{
path:'/',
redirect: '/coupon'
}
]
const keepAlives = []
Object.keys(pages).map(parent => {
pages[parent].map(val => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!