优化代码
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user