zouyu
7 天以前 f1ee0aa9d6c6c89ee9f0e5d845cd3c64f161aeaf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
  <div></div>
</template>
<script>
import store from "@/store";
export default {
  data() {
    return {}
  },
  created() {
    this.goLogin()
  },
  computed: {},
  methods: {
     goLogin() {
      store.dispatch('TideLogin', {code : this.$route.query.code}).then(() => {
        this.$router.push({ path: this.redirect || "/" }).catch(() => { });
      })
    }
  }
}
</script>
<style scoped></style>