spring
23 小时以前 88218d4c0aa344ae1d9f949d2465e1d143f2d3dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<template>
  <div></div>
</template>
<script setup>
import useUserStore from '@/store/modules/user'
const userStore = useUserStore()
let { proxy } = getCurrentInstance()
function goLogin() {
  userStore.TideLogin({code : proxy.$route.query.code}).then(() => {
    proxy.$router.push({ path: redirect || "/" }).catch(() => { });
  })
}
goLogin()
</script>
<style scoped></style>