|
|
@@ -819,6 +819,7 @@ const imageUrl = ref(digiCamControlWEB+'preview.jpg')
|
|
|
const imageUrlkey = ref(0)
|
|
|
function testShoesFlip(){
|
|
|
if (clientStore.isClient) {
|
|
|
+
|
|
|
socketStore.sendMessage({
|
|
|
type: 'run_mcu_single',
|
|
|
data: {
|
|
|
@@ -840,7 +841,9 @@ function testShoesFlip(){
|
|
|
});
|
|
|
captureLoading.value = true;
|
|
|
|
|
|
- clientStore.ipc.on(icpList.socket.message+'_run_mcu_single_finish', (event, result) =>{
|
|
|
+
|
|
|
+ clientStore.ipc.on(icpList.socket.message+'_run_mcu_single_finish', async (event, result) => {
|
|
|
+
|
|
|
clientStore.ipc.removeAllListeners(icpList.camera.takePictures);
|
|
|
clientStore.ipc.send(icpList.camera.takePictures,false);
|
|
|
clientStore.ipc.on(icpList.camera.takePictures, async (event, result) => {
|
|
|
@@ -852,15 +855,13 @@ function testShoesFlip(){
|
|
|
clientStore.ipc.removeAllListeners(icpList.camera.takePictures);
|
|
|
})
|
|
|
|
|
|
- clientStore.ipc.removeAllListeners(icpList.socket.message+'_run_mcu_single_finish');
|
|
|
|
|
|
})
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|