From d1f4abcdb0f080908234cf40d985689b54fe4cd2 Mon Sep 17 00:00:00 2001 From: ysn <2126564605@qq.com> Date: Thu, 23 Apr 2026 17:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E6=95=B0=E6=8D=AE-=E9=95=80?= =?UTF-8?q?=E7=A7=8D=E7=BB=B4=E6=8A=A4-=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/processManagement/platingTypeInfo.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/processManagement/platingTypeInfo.vue b/src/views/processManagement/platingTypeInfo.vue index 9a452b7f..96744dc8 100644 --- a/src/views/processManagement/platingTypeInfo.vue +++ b/src/views/processManagement/platingTypeInfo.vue @@ -587,14 +587,14 @@ export default { }); let list = res.data.data.records; // 批量获取 bcName —— 正确用法! - await Promise.all( - list.map(async item => { - item.bcId = item.bcId + ''; - item.subClass = item.subClass + ''; - item.bcName = await this.getBcName(item.bcId); // ✅ 等待返回 - console.log('item.bcName =', item.bcName); // 现在一定有值 - }) - ); + //await Promise.all( + // list.map(async item => { + // item.bcId = item.bcId + ''; + // item.subClass = item.subClass + ''; + // item.bcName = await this.getBcName(item.bcId); // ✅ 等待返回 + // console.log('item.bcName =', item.bcName); // 现在一定有值 + // }) + //); this.data = list; this.page.total = res.data.data.total; } catch (e) {}