测试用例修改
This commit is contained in:
@@ -217,6 +217,7 @@ const tableStore = new TableStore({
|
||||
showPage: false,
|
||||
url: '/device-boot/LineIntegrityData/getLineIntegrityData',
|
||||
method: 'POST',
|
||||
|
||||
column: [
|
||||
{
|
||||
title: formData.value.statisticalType.name,
|
||||
@@ -229,7 +230,7 @@ const tableStore = new TableStore({
|
||||
return row.cellValue ? row.cellValue : '/'
|
||||
}
|
||||
},
|
||||
{
|
||||
{
|
||||
title: formData.value.statisticalType.name,
|
||||
field: 'name',
|
||||
align: 'left',
|
||||
@@ -454,11 +455,11 @@ watch(
|
||||
() => tableStore.table,
|
||||
(val) => {
|
||||
if(val.data.length > 0){
|
||||
tableStore.table.column[0].visible = true
|
||||
tableStore.table.column[1].visible = false
|
||||
tableStore.table.column[0].visible = true
|
||||
tableStore.table.column[1].visible = false
|
||||
}else{
|
||||
tableStore.table.column[0].visible = false
|
||||
tableStore.table.column[1].visible = true
|
||||
tableStore.table.column[0].visible = false
|
||||
tableStore.table.column[1].visible = true
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user