From 6d30bc636d931c5aa53d0336cf67db99649d41a7 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 21 三月 2026 13:31:18 +0800
Subject: [PATCH] 军泰伟业 1.订单分批发货后,对应仓库出库数据有误 2.新增退货单并处理成功后,已退货数量、未退货数量显示有误 3.自制、外购、委外来源需拆分为合格来源、不合格来源 4.规格型号改为图纸编号
---
src/views/tideLogin.vue | 26 +++++++++-----------------
1 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/src/views/tideLogin.vue b/src/views/tideLogin.vue
index a96165e..e4a82f7 100644
--- a/src/views/tideLogin.vue
+++ b/src/views/tideLogin.vue
@@ -1,23 +1,15 @@
<template>
<div></div>
</template>
-<script>
-import store from "@/store";
-export default {
- data() {
- return {}
- },
- created() {
- this.goLogin()
- },
- computed: {},
- methods: {
- goLogin() {
- store.dispatch('TideLogin', {code : this.$route.query.code}).then(() => {
- this.$router.push({ path: this.redirect || "/" }).catch(() => { });
- })
- }
- }
+<script setup>
+import useUserStore from '@/store/modules/user'
+const userStore = useUserStore()
+let { proxy } = getCurrentInstance()
+function goLogin() {
+ userStore.TideLogin({code : proxy.$route.query.code}).then(() => {
+ proxy.$router.push({ path: redirect || "/" }).catch(() => { });
+ })
}
+goLogin()
</script>
<style scoped></style>
--
Gitblit v1.9.3