yaowanxin
5 天以前 be125538c6e9c17a923c9dbe1e4cca9962b0ed39
src/views/tideLogin.vue
对比新文件
@@ -0,0 +1,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>