diff --git a/src/components/system/Check/index.vue b/src/components/system/Check/index.vue index fe101db..94bcd49 100644 --- a/src/components/system/Check/index.vue +++ b/src/components/system/Check/index.vue @@ -175,7 +175,7 @@ const checkHandle1 = async () => { const res = await requireOutTray() res.forEach((item) => { const heatItem = heatList.value.find(heatItem => heatItem.command === item.moduleCode) - heatItem!.status = 'error' + heatItem!.status = item.trayExist ? 'error' : 'success' }) activeStep.value = 2 }