|
@@ -41,8 +41,8 @@ import SwitchButton from "@/components/switch-button/SwitchButton.vue"
|
|
|
import useDeviceControl from "@/hooks/useDeviceControl"
|
|
|
import { useStore } from "@/store"
|
|
|
import { customRound } from "@/utils"
|
|
|
-import { computed, ref, watch } from "vue"
|
|
|
import eventBus from "@/utils/eventBus"
|
|
|
+import { computed, ref, watch } from "vue"
|
|
|
const lastVolumnSet = ref(null)
|
|
|
let volumnTimer = null
|
|
|
const min = 0
|
|
@@ -106,7 +106,7 @@ const setAudioStatus = type => {
|
|
|
volumnTimer = setTimeout(() => {
|
|
|
lastVolumnSet.value = null
|
|
|
volumnTimer = null
|
|
|
- }, 1000 * 3)
|
|
|
+ }, 1000 * 30)
|
|
|
}
|
|
|
|
|
|
sendEvent(true)
|