Browse Source

修复加载问题

lex-xin 8 tháng trước cách đây
mục cha
commit
2dc7963d2b
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/views/pre-register-active/video.tsx

+ 4 - 0
src/views/pre-register-active/video.tsx

@@ -646,6 +646,10 @@ export default defineComponent({
       currentTimer.pause();
       // 页面计时暂停
       pageTimer.pause();
+
+      forms.player?.pause();
+      forms.player?.src('');
+      forms.player?.dispose();
     });
 
     // 判断是否有openId