测试用例修改

This commit is contained in:
sjl
2025-07-28 13:24:01 +08:00
parent e90cecfb5b
commit 6305a38e9d
8 changed files with 61 additions and 25 deletions

View File

@@ -75,6 +75,7 @@ const info = () => {
clickRow(List.value[0], 0)
setTime()
})
}
const setTime = () => {
timer.value = setInterval(() => {
@@ -83,7 +84,6 @@ const setTime = () => {
} else {
rowColor.value += 1
}
clickRow(List.value[rowColor.value], rowColor.value)
}, 1000 * 5)
}

View File

@@ -15,7 +15,6 @@ const height = mainHeight(330, 3)
const chartRef = ref<HTMLDivElement>()
const info = (item: any) => {
let chart = echarts.init(chartRef.value as HTMLDivElement)
let everyDepartment = {
stages: [
{ name: '在线率', max: 100 },
@@ -24,7 +23,7 @@ const info = (item: any) => {
],
scores: [item.onLineRate, item.passRate, item.integrityRate]
}
function contains(arr, obj) {
var i = arr.length
while (i--) {