From 7bbab0e74d1d0208fa24ec67e3201427078980cd Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期日, 04 一月 2026 17:01:59 +0800
Subject: [PATCH] 器具校准,校准记录

---
 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