Open shaoxiaohang opened 3 weeks ago
前端切换到播放模式,点击播放后就卡住了打转,但是后端可以正常仿真完毕, 下面的回调函数没有被执行,导致前端卡住
export function play (context) { const { state, commit } = context let frameNumber = 0 commit('updateState', { loading: true }) commit('updateState', { isPaused: false }) electron.player.play(async (status, err) => { console.log('play status', cloneDeep(status)) if (err?.length) { await showErrorList(err) }
前端切换到播放模式,点击播放后就卡住了打转,但是后端可以正常仿真完毕, 下面的回调函数没有被执行,导致前端卡住
export function play (context) { const { state, commit } = context let frameNumber = 0 commit('updateState', { loading: true }) commit('updateState', { isPaused: false }) electron.player.play(async (status, err) => { console.log('play status', cloneDeep(status)) if (err?.length) { await showErrorList(err) }