From 185c800fa17b97c01462ebcb1f89d71979100ff6 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 20 一月 2026 17:14:03 +0800
Subject: [PATCH] fix: 完成无人值守地磅管理、报表中心功能开发
---
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..5094cef 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