优化定时停止

pull/1123/head
lyswhut 2023-01-06 14:49:09 +08:00
parent 27c1bf8eb6
commit 65270e02da
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import { ref, computed, ComputedRef } from '@common/utils/vueTools'
import { isPlay } from '@renderer/store/player/state'
import { appSetting } from '@renderer/store/setting'
// import { interval, intervalCancel } from '@renderer/utils/ipc'
import { stop } from './action'
import { pause } from './action'
const time = ref(-1)
@ -25,7 +25,7 @@ const timeoutTools: {
exit() {
window.lx.isPlayedStop = true
if (!appSetting['player.waitPlayEndStop'] && isPlay.value) {
stop()
pause()
}
},
clearTimeout() {