|
|
@@ -564,7 +564,7 @@ const reTakePicture = async (img)=>{
|
|
|
reNosObj.value.action = ''
|
|
|
ElMessage.error(result.msg)
|
|
|
}
|
|
|
- clientStore.ipc.removeAllListeners(icpList.socket.message + '_re_take_picture');
|
|
|
+ clientStore.ipc.removeAllListeners(icpList.socket.message + '_digicam_take_picture');
|
|
|
|
|
|
})
|
|
|
}
|
|
|
@@ -817,6 +817,8 @@ onBeforeUnmount(() => {
|
|
|
clientStore.ipc.removeAllListeners(icpList.socket.message + '_run_mcu_update');
|
|
|
clientStore.ipc.removeAllListeners(icpList.socket.message + '_stop_action');
|
|
|
clientStore.ipc.removeAllListeners(icpList.socket.message + '_run_mcu_stop');
|
|
|
+ clientStore.ipc.removeAllListeners(icpList.socket.message + '_digicam_take_picture');
|
|
|
+
|
|
|
/* window.removeEventListener('storage', handleStorageEvent);*/
|
|
|
|
|
|
|