From f2e14fbd69737ca7717835fcc4e02c0f01de10d4 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 02 二月 2026 10:12:42 +0800
Subject: [PATCH] fix: 修复扫码时code参数格式不一致导致的解析错误
---
src/pages/production/twist/report/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pages/production/twist/report/index.vue b/src/pages/production/twist/report/index.vue
index c1b3b25..5a0fe0d 100644
--- a/src/pages/production/twist/report/index.vue
+++ b/src/pages/production/twist/report/index.vue
@@ -176,9 +176,9 @@
const { data } = await HomeApi.getIndex();
if (data) {
// 瀛樺偍鐝粍ID
- if (data.team) {
- teamId.value = data.team;
- setTeamId(data.team);
+ if (data.id) {
+ teamId.value = data.id;
+ setTeamId(data.id);
}
// 瀛樺偍鐢熶骇鍑嗗ID
if (data.prepareId) {
--
Gitblit v1.9.3