Commit e2e08798 by liwk

commit

1 parent 6b490f85
...@@ -104,12 +104,15 @@ export default { ...@@ -104,12 +104,15 @@ export default {
} }
}, },
mounted () { mounted () {
let { sessionId } = this.$store.state
if (sessionId) {
equity.getCardInfo().then(res => { equity.getCardInfo().then(res => {
let { code } = res let { code } = res
if (code == 0) { if (code == 0) {
this.$router.replace({ name: 'equity.index' }) 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!