diff --git a/src/pages/webControl/IndexWebControl.jsx b/src/pages/webControl/IndexWebControl.jsx index bfd119a..baeec2f 100644 --- a/src/pages/webControl/IndexWebControl.jsx +++ b/src/pages/webControl/IndexWebControl.jsx @@ -15,9 +15,10 @@ const IndexWebControl = memo(function IndexWebControl() { const url = "https://117.102.231.130:9531/qrview"; - const handleReset = () => { + const handleReset = async() => { setIsPlaying(false); - resetWA(); + await resetWA(); + setIsPlaying(true); }; useEffect(() => {