From 6959fd2d7afb07afdc25f4bca256640ebeadc76d Mon Sep 17 00:00:00 2001 From: pengxiaolong <15716207+pengxiaolong711@user.noreply.gitee.com> Date: Thu, 25 Sep 2025 20:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hosts/hostsList.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/hosts/hostsList.vue b/src/views/hosts/hostsList.vue index 5ef1f07..7b6d3f7 100644 --- a/src/views/hosts/hostsList.vue +++ b/src/views/hosts/hostsList.vue @@ -436,6 +436,7 @@ function BigBrotherstop() { loading.close(); }); } + //指定直播间 function specifyClick() { if (textarea.value == "") { @@ -451,6 +452,7 @@ function specifyClick() { streamdialogVisible.value = false; streamdialogVisibletext.value = true; } + //指定直播间重置 function specifyreset() { textarea.value = ""; @@ -561,6 +563,8 @@ let streamdialogVisibletext = ref(false); let streamdialogVisible = ref(false); //指定直播间id let textarea = ref(""); +//计时器 +let startTime = ref(null); //分配的员工 let staffId = ref({}); //备注信息 @@ -585,6 +589,7 @@ onMounted(() => { }); }, 500); }); + // 启动计时器 function startTimerfun() { startTime.value = setInterval(() => { @@ -599,6 +604,8 @@ function startTimerfun() { } }, 1000); } + + // 停止计时器 function stopTimerfun() { clearInterval(startTime.value);