微调
This commit is contained in:
@@ -598,7 +598,6 @@ for (let i = 0; i < channel.value.length; i++) {
|
||||
|
||||
// 重置状态变量
|
||||
active.value = 0;activeIndex.value = 0;
|
||||
console.log('activeIndex', activeIndex.value);
|
||||
const currentTableData = ref<TableDataItem[]>([]);
|
||||
const selectedTemplates = dataTemplates4;
|
||||
|
||||
@@ -615,13 +614,11 @@ for (let i = 0; i < channel.value.length; i++) {
|
||||
|
||||
tableDataMap.set(i, currentTableData);
|
||||
activeIndex.value++;
|
||||
console.log('activeIndex', activeIndex.value);
|
||||
// 清除之前的 timer1
|
||||
clearInterval(timer1);
|
||||
// 启动 timer1
|
||||
timer1 = setInterval(() => {
|
||||
active.value++;
|
||||
console.log('active', active.value);
|
||||
if (active.value > 5) {
|
||||
clearInterval(timer1);
|
||||
}
|
||||
@@ -660,15 +657,11 @@ for (let i = 0; i < channel.value.length; i++) {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('currentTableData', currentTableData);
|
||||
tableDataMap.set(i, currentTableData);
|
||||
activeIndex.value++;
|
||||
|
||||
clearInterval(timer2);
|
||||
console.log('activeIndex', activeIndex.value);
|
||||
console.log('tableDataMap', tableDataMap);
|
||||
const currentDataRef = tableDataMap.get(i);
|
||||
console.log('activeIndex.value - 2',activeIndex.value)
|
||||
console.log('currentDataRef',currentDataRef)
|
||||
if (currentDataRef) {
|
||||
const currentData = currentDataRef.value;
|
||||
// 检查当前数据中有无不合格字段
|
||||
|
||||
Reference in New Issue
Block a user