修改正式检测首列的显示样式
This commit is contained in:
@@ -365,7 +365,7 @@ const updateLog = () => {
|
||||
case 10:
|
||||
case 11:
|
||||
case 12:
|
||||
updateTableData(activeIndex.value.toString())
|
||||
// updateTableData(activeIndex.value.toString())
|
||||
break;
|
||||
|
||||
}
|
||||
@@ -379,15 +379,15 @@ const testLogList = ref([
|
||||
},
|
||||
])
|
||||
const columnList = ref([]);
|
||||
|
||||
const tableKey = ref(0);
|
||||
function tableCell ({row,columnIndex}){
|
||||
|
||||
|
||||
let items = columnList?.value.filter((item) => item === row.id)
|
||||
|
||||
if(columnIndex === 0 && items.length > 0)
|
||||
{
|
||||
console.log(row.id,columnList?.value,items)
|
||||
console.log(row.id,items.length,columnList?.value)
|
||||
return 'warning-row'
|
||||
}
|
||||
|
||||
@@ -440,6 +440,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)
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -473,7 +474,6 @@ const handleReCheck = () => {
|
||||
let timer: any = ref("");
|
||||
const handlePauseTest = () => {
|
||||
|
||||
|
||||
if (!isPause.value) {
|
||||
pauseTimer()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user