From 91709ff6ecc38abcb4f4efa199f468c66ea2aaaa Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 26 十二月 2025 17:49:58 +0800
Subject: [PATCH] 代码调整7

---
 src/views/tideLogin.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/tideLogin.vue b/src/views/tideLogin.vue
index a96165e..cd3fa0e 100644
--- a/src/views/tideLogin.vue
+++ b/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 {}
@@ -12,8 +12,8 @@
   },
   computed: {},
   methods: {
-     goLogin() {
-      store.dispatch('TideLogin', {code : this.$route.query.code}).then(() => {
+    goLogin() {
+      useUserStore().TideLogin( {code : this.$route.query.code}).then(() => {
         this.$router.push({ path: this.redirect || "/" }).catch(() => { });
       })
     }

--
Gitblit v1.9.3