This commit is contained in:
sjl
2025-01-13 22:42:14 +08:00
parent b584142f5e
commit 5199ee2db0
8 changed files with 31 additions and 32 deletions

View File

@@ -422,9 +422,9 @@ const scrollContainer = ref<HTMLElement | null>(null); // 声明 scrollContainer
const scrollToBottom = () => {
if (scrollContainer.value) {
console.log(scrollContainer.value)
//console.log(scrollContainer.value)
scrollContainer.value.scrollTop = scrollContainer.value.scrollHeight;
console.log(scrollContainer.value)
//console.log(scrollContainer.value)
}
};
@@ -541,7 +541,7 @@ function traverseTableData(data: any[], id: string): void {
item[field1] = "danger";
item[field2] = "×";
columnList.value.push(activeIndex.value.toString());
console.log(id,activeIndex.value,columnList.value)
// console.log(id,activeIndex.value,columnList.value)
}
else {
item[field1] = "success";
@@ -561,7 +561,7 @@ function traverseTableData(data: any[], id: string): void {
const updateTableData = (id: string) => {
traverseTableData(tableData.value, id);
console.log(id)
// console.log(id)
};
let timer: any = ref("");
@@ -582,7 +582,7 @@ const handleFinishTest = () => {
};
const handleClick = (row: any) => {
console.log(111, row)
// console.log(111, row)
dataCheckSingleChannelSingleTestDialogVisable.value = true;
};
@@ -1885,7 +1885,7 @@ const startTimer = () => {
//if (timer.value !== null) return; // 如果定时器已经启动,则不再重复启动
timer.value = setInterval(() => {
console.log(activeIndex.value, 111)
// console.log(activeIndex.value, 111)
if (activeIndex.value <= activeTotalNum.value) {
activeIndex.value++;
@@ -1943,10 +1943,10 @@ const startTimer = () => {
}
else {
console.log(activeIndex.value, 222)
// console.log(activeIndex.value, 222)
clearInterval(timer.value)
reportDisabled.value = false;
console.log(activeIndex.value, 333)
// console.log(activeIndex.value, 333)
}
qualified.value = 92
}, 100);