const lableStyle =
'background:rgba(96,96,96,1);font-size:12px;padding:1px 10px;color:#fff;border-top-left-radius:4px;border-bottom-left-radius:4px;',
msgStyle = background:${bgColor};font-size:12px;padding:1px 10px;color:${color};border-top-right-radius:4px;border-bottom-right-radius:4px;
;
console.info(msg.trim(), lableStyle, msgStyle);
0 个回复