From 9736af164d1aae76b3388944d675cb21b61c755b Mon Sep 17 00:00:00 2001
From: Oliver <1070107765@qq.com>
Date: 星期一, 12 十二月 2022 14:01:04 +0800
Subject: [PATCH] fix bug

---
 src/views/video/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/video/index.vue b/src/views/video/index.vue
index 371bd3b..fbcf0d7 100644
--- a/src/views/video/index.vue
+++ b/src/views/video/index.vue
@@ -134,7 +134,7 @@
         var hls = new Hls();
         videoPoint.getVideoPointUrl(item.platResourceId).then((res) => {
           
-          if (res.code == 0) {
+          if (res.code === 0) {
             hls.loadSource(res.data);
             hls.attachMedia(video);
             hls.on(Hls.Events.MANIFEST_PARSED, function () {

--
Gitblit v1.8.0