Commit e2e08798 by liwk

commit

1 parent 6b490f85
......@@ -104,12 +104,15 @@ export default {
}
},
mounted () {
equity.getCardInfo().then(res => {
let { code } = res
if (code == 0) {
this.$router.replace({ name: 'equity.index' })
}
})
let { sessionId } = this.$store.state
if (sessionId) {
equity.getCardInfo().then(res => {
let { code } = res
if (code == 0) {
this.$router.replace({ name: 'equity.index' })
}
})
}
},
methods: {
receive () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!