|
@@ -51,12 +51,12 @@ const okHandler = genUseLoading(async () => {
|
|
|
// Message.error({ msg: "拍摄失败", time: 2000 });
|
|
// Message.error({ msg: "拍摄失败", time: 2000 });
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- cancelHandler()
|
|
|
|
|
|
|
+ reshootPointStack.current.value.value = undefined
|
|
|
|
|
+ customMap.mode = Mode.pano;
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const cancelHandler = () => {
|
|
const cancelHandler = () => {
|
|
|
reshootPointStack.current.value.value = undefined
|
|
reshootPointStack.current.value.value = undefined
|
|
|
- customMap.mode = Mode.pano;
|
|
|
|
|
- console.log('变成 pano')
|
|
|
|
|
|
|
+ customMap.mode = (window as any).oldMode;
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|