Merge branch 'sprint/183_zhouxin_18909' into 'master'

fix bug.

See merge request easycorp/zentaopms!1604
This commit is contained in:
孙广明
2022-01-25 07:54:22 +00:00
+4 -1
View File
@@ -278,6 +278,9 @@ function renderUsersAvatar(users, itemID, size)
*/
function renderKanbanItem(item, $item)
{
var whiteStyle = null;
if(item.color == '#2a5f29' || item.color == '#b10b0b') whiteStyle = 'style="color:#FFFFFF"';
if(item.fromType == 'execution')
{
renderExecutionItem(item, $item);
@@ -323,7 +326,7 @@ function renderKanbanItem(item, $item)
$(
[
'<div class="actions" title="' + kanbanLang.more + '">',
'<a data-contextmenu="card" data-id="' + item.id + '">',
'<a data-contextmenu="card"' + whiteStyle + 'data-id="' + item.id + '">',
'<i class="icon icon-ellipsis-v"></i>',
'</a>',
'</div>'