|
@@ -26,8 +26,8 @@ export default defineComponent({
|
|
|
|
|
|
const changePlay = (res: any) => {
|
|
|
if (res?.data?.api === 'setPlayState') {
|
|
|
- console.log('父页面的切换事件', res.data, runtime.playState)
|
|
|
- if (runtime.playState == 'play') {
|
|
|
+ console.log('父页面的切换事件', res.data, runtime.playState, runtime.currentTimeNum > 0)
|
|
|
+ if (runtime.currentTimeNum > 0) {
|
|
|
RuntimeUtils.setPlayState()
|
|
|
}
|
|
|
RuntimeUtils.stopTick()
|