Commit e2e08798 by liwk

commit

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