forked from dyf/dyf-vue-ui
优化细节
This commit is contained in:
@ -366,7 +366,7 @@ const handleLaserClick = async () => {
|
|||||||
laserMode.value.switchStatus = !targetStatus;
|
laserMode.value.switchStatus = !targetStatus;
|
||||||
}
|
}
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
proxy?.$modal.msgError(error.msg);
|
// proxy?.$modal.msgError(error.msg);
|
||||||
// 恢复之前的状态
|
// 恢复之前的状态
|
||||||
laserMode.value.switchStatus = !laserMode.value.switchStatus;
|
laserMode.value.switchStatus = !laserMode.value.switchStatus;
|
||||||
} finally { }
|
} finally { }
|
||||||
@ -429,7 +429,7 @@ const saveBtn = () => {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
lightModesLoading.value = false
|
lightModesLoading.value = false
|
||||||
proxy?.$modal.msgError(res.msg);
|
//proxy?.$modal.msgError(res.msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
@ -516,7 +516,7 @@ const forceAlarm = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
proxy?.$modal.msgWarning(error.msg)
|
// proxy?.$modal.msgWarning(error.msg)
|
||||||
forceAlarmLoading.value = false;
|
forceAlarmLoading.value = false;
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user