zouyu
15 小时以前 f431d3c97d0fbfa2eaa530eabc7c1eb66323267c
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 useUserStore from '@/store/modules/user'
export default {
  data() {
    return {}
  },
  created() {
    this.goLogin()
  },
  computed: {},
  methods: {
    goLogin() {
      useUserStore().TideLogin( {code : this.$route.query.code}).then(() => {
        this.$router.push({ path: this.redirect || "/" }).catch(() => { });
      })
    }
  }
}
</script>
<style scoped></style>