From 9f9792cae8f0ba0293e2ea5dc215896a3b6c20cc Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 09 一月 2026 13:51:06 +0800
Subject: [PATCH] 浪潮 1.采购管理和其他模块取消关联

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

diff --git a/src/views/tideLogin.vue b/src/views/tideLogin.vue
index a96165e..c9ae3d4 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 {}
@@ -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(() => { });
       })
     }

--
Gitblit v1.9.3