From 5a9621840c957db0545a9a0ac80d784e3d647a96 Mon Sep 17 00:00:00 2001
From: xubinbin <1323875150@qq.com>
Date: 星期二, 12 十二月 2023 16:37:06 +0800
Subject: [PATCH] 修改控制台输出日志格式,增加显示线程名称,调用类的全类路径以及日子输出行的行号。
---
web_src/src/components/common/jessibuca.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/web_src/src/components/common/jessibuca.vue b/web_src/src/components/common/jessibuca.vue
index bdb5793..5b48da4 100755
--- a/web_src/src/components/common/jessibuca.vue
+++ b/web_src/src/components/common/jessibuca.vue
@@ -1,6 +1,6 @@
<template>
<div ref="container" @dblclick="fullscreenSwich"
- style="width:100%;height:100%;background-color: #000000;margin:0 auto;">
+ style="width:100%;height:100%;background-color: #000000;margin:0 auto;position: relative;">
<div class="buttons-box" id="buttonsBox">
<div class="buttons-box-left">
<i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i>
@@ -60,8 +60,13 @@
})
},
watch: {
- videoUrl(val, _) {
- this.play(val);
+ videoUrl: {
+ handler(val, _) {
+ this.$nextTick(() => {
+ this.play(val);
+ })
+ },
+ immediate: true
}
},
methods: {
--
Gitblit v1.8.0