Browse Source

修正码流

caner 1 year ago
parent
commit
f080940b9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/views/video/index.vue

+ 1 - 1
src/pages/views/video/index.vue

@@ -241,9 +241,9 @@ function onChange(v: number) {
       },
       changeCode() {
         if (!this.video) return
+        this.isChangeCode = !this.isChangeCode
         const url = this.isChangeCode ? this.highLiveUrl : this.fluentLiveUrl
         this.video.changePlayUrl({ url })
-        this.isChangeCode = !this.isChangeCode
       }
     })
   }