Browse Source

开始消毒抛出异常 解决无法取消loading的问题

master
王梦远 1 week ago
parent
commit
9a94aa1cb5
  1. 1
      src/components/home/HomeOperation.vue

1
src/components/home/HomeOperation.vue

@ -100,6 +100,7 @@ const doStartDisinfect = async () => {
} }
await sendCmd(startParams).catch((res) => { await sendCmd(startParams).catch((res) => {
FtMessageBox.error(`错误码: ${res.ackcode}, 信息: ${res.message}`) FtMessageBox.error(`错误码: ${res.ackcode}, 信息: ${res.message}`)
throw new Error(res)
}) })
const poll = setInterval(() => { const poll = setInterval(() => {
if (!operationState.value) { if (!operationState.value) {

Loading…
Cancel
Save