+ testcaseBrowse: only display checkbox if the row's data is test case.

This commit is contained in:
liugang
2023-06-08 14:45:00 +08:00
parent df7fccfa6a
commit 3189386b9e
+1
View File
@@ -375,6 +375,7 @@ dtable
set::cols(array_values($config->testcase->dtable->fieldList)),
set::data(array_values($scenes)),
set::checkable($canBatchAction),
set::canRowCheckable(jsRaw('function(rowID){const row = this.getRowInfo(rowID); return row && row.data.isCase == 1;}')),
set::checkInfo(jsRaw('function(checks){return window.setStatistics(this, checks);}')),
set::footToolbar($footToolbar),
set::footPager(usePager())