测试用例修改

This commit is contained in:
sjl
2025-07-24 09:31:47 +08:00
parent 2200494765
commit 40564ee283
16 changed files with 47 additions and 18 deletions

View File

@@ -225,7 +225,7 @@ const tableStore = new TableStore({
width: 350,
formatter: function (row) {
console.log('🚀 ~ row:', row)
return 123 //row.cellValue ? row.cellValue : '/'
return row.cellValue ? row.cellValue : '/'
}
},
{
@@ -328,6 +328,14 @@ const tableStore = new TableStore({
setTimeout(() => {
activeName.value == 0 && tableRef.value && tableRef.value.getRef().setAllTreeExpand(true)
}, 0)
},
resetCallback:() =>{
// 重置表单数据到默认值
formData.value.statisticalType = classificationData[0]
formData.value.deptIndex = treeData.value[0]?.id
formData.value.scale = voltageleveloption
formData.value.manufacturer = terminaloption
formData.value.loadType = interfereoption
}
})