From 3ffffe3d8b24b6fde7188c90d60e3c3945d47776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=AE=E5=BB=BA?= <450837357@qq.com> Date: Wed, 9 Apr 2025 10:46:32 +0800 Subject: [PATCH] first --- src/views/board/kanBan/compents/midMidBot.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/board/kanBan/compents/midMidBot.vue b/src/views/board/kanBan/compents/midMidBot.vue index b7c0e18..6e25d69 100644 --- a/src/views/board/kanBan/compents/midMidBot.vue +++ b/src/views/board/kanBan/compents/midMidBot.vue @@ -89,7 +89,7 @@ export default defineComponent({ pageSize : 10 }) this.config.data = res && res.rows && res.rows.length && res.rows.map(item => { - return [item.taskType == '0'?'金属':'板材', item.workstationName == '' ? workstationNames[Math.random(0, 2)] : item.workstationName, item.orderSn, item.outputWeight, item.createTime, item.createBy] + return [item.taskType == '0'?'金属':'板材', item.workstationName == '' || !item.workstationName ? workstationNames[Math.floor(Math.random(0, 2))] : item.workstationName, item.orderSn, item.outputWeight, item.createTime, item.createBy] }) || [] }, // initChart() {