zouyu
2026-01-30 e7cca2ed335b5f209fd1e2da0f4239b365a7b77c
src/views/tideLogin.vue
@@ -2,7 +2,7 @@
  <div></div>
</template>
<script>
import store from "@/store";
import useUserStore from "@/store/modules/user";
export default {
  data() {
    return {}
@@ -13,7 +13,7 @@
  computed: {},
  methods: {
     goLogin() {
      store.dispatch('TideLogin', {code : this.$route.query.code}).then(() => {
       useUserStore().TideLogin({code : this.$route.query.code}).then(() => {
        this.$router.push({ path: this.redirect || "/" }).catch(() => { });
      })
    }