* Revise the process of generating data for the data table on the product view page.

This commit is contained in:
chentao
2023-06-15 19:54:25 +08:00
parent 10923fdf9c
commit 72143d9874
2 changed files with 153 additions and 102 deletions
+6 -1
View File
@@ -5,10 +5,15 @@ window.footerGenerator = function()
window.renderReleaseCountCell = function(result, {col, row})
{
if(col.name === 'createdDate' || col.name === 'latestReleaseDate')
if(col.name === 'createdDate')
{
if(row.data.createdDate === '') return [''];
}
if(col.name === 'latestReleaseDate')
{
if(row.data.latestReleaseDate === '') return [''];
}
return result;
}