* Fix requirement js error.

This commit is contained in:
wangyuting
2024-05-20 09:13:51 +08:00
parent 97d3f4ed83
commit a310d7ad96
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ window.onRenderCell = function(result, {row, col})
{
for(index in row.data.actions)
{
if(row.data.actions[index].name == 'recall') row.data.actions[index].hint = (row.data.status == 'changing' ? recallChange : recall
if(row.data.actions[index].name == 'recall') row.data.actions[index].hint = row.data.status == 'changing' ? recallChange : recall;
}
}
return result;
+1 -1
View File
@@ -82,7 +82,7 @@ dtable
set::userMap($users),
set::fixedLeftWidth('44%'),
set::checkable($canBatchAction ? true : false),
set::onRenderCell(jsRaw('window.renderCell')),
set::onRenderCell(jsRaw('window.onRenderCell')),
set::orderBy($orderBy),
set::sortLink(createLink('my', $app->rawMethod, "mode={$mode}&type={$type}&param={$param}&orderBy={name}_{sortType}&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}")),
set::footToolbar($footToolbar),