修复职务任命撤销弹窗显示HTML代码
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
icon: '📋',
|
||||
title: '职务撤销',
|
||||
name: `${escapeHtml(data.position_icon)} ${escapeHtml(data.target_username)}`,
|
||||
body: `<strong style="color:#f3f4f6;">${dept}${escapeHtml(data.position_name)}</strong> 职务已被撤销`,
|
||||
body: `${dept}${escapeHtml(data.position_name)} 职务已被撤销`,
|
||||
sub: `由 ${escapeHtml(data.operator_name)} 执行`,
|
||||
gradient: ['#374151', '#4b5563', '#6b7280'],
|
||||
titleColor: '#d1d5db',
|
||||
@@ -33,7 +33,7 @@
|
||||
icon: '🎊🎖️🎊',
|
||||
title: '任命公告',
|
||||
name: `${escapeHtml(data.position_icon)} ${escapeHtml(data.target_username)}`,
|
||||
body: `荣任 <strong style="color:#fde68a;">${dept}${escapeHtml(data.position_name)}</strong>`,
|
||||
body: `荣任 ${dept}${escapeHtml(data.position_name)}`,
|
||||
sub: `由 ${escapeHtml(data.operator_name)} 任命`,
|
||||
gradient: ['#4f46e5', '#7c3aed', '#db2777'],
|
||||
titleColor: '#fde68a',
|
||||
|
||||
Reference in New Issue
Block a user