|
@@ -773,15 +773,15 @@ const onRemoteControl = async (type) => {
|
|
|
console.log('_handler_take_picture')
|
|
console.log('_handler_take_picture')
|
|
|
console.log(result)
|
|
console.log(result)
|
|
|
if (result.code === 0) {
|
|
if (result.code === 0) {
|
|
|
- if (runLoading.value || takePictureLoading.value) {
|
|
|
|
|
|
|
+ /* if (runLoading.value || takePictureLoading.value) {
|
|
|
ElMessage.error('拍摄程序正在运行,请稍候')
|
|
ElMessage.error('拍摄程序正在运行,请稍候')
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+*/
|
|
|
|
|
+ // ElMessage.success('正在拍摄中,请稍候')
|
|
|
|
|
|
|
|
- ElMessage.success('正在拍摄中,请稍候')
|
|
|
|
|
-
|
|
|
|
|
- takePictureLoading.value = true;
|
|
|
|
|
- await socketStore.connectSocket();
|
|
|
|
|
|
|
+ takePictureLoading.value = false;
|
|
|
|
|
+ // await socketStore.connectSocket();
|
|
|
// socketStore.sendMessage(result.data)
|
|
// socketStore.sendMessage(result.data)
|
|
|
|
|
|
|
|
getPhotoRecords()
|
|
getPhotoRecords()
|