|
@@ -773,14 +773,14 @@ 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('正在拍摄中,请稍候')
|
|
|
|
|
|
|
|
|
|
- takePictureLoading.value = false;
|
|
|
|
|
|
|
+ ElMessage.success('正在拍摄中,请稍候')
|
|
|
|
|
+
|
|
|
|
|
+ takePictureLoading.value = true;
|
|
|
// await socketStore.connectSocket();
|
|
// await socketStore.connectSocket();
|
|
|
// socketStore.sendMessage(result.data)
|
|
// socketStore.sendMessage(result.data)
|
|
|
|
|
|