mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
fix: 修复主题配置icon失败问题 (#9189)
Co-authored-by: hongyang03 <hongyang03@baidu.com>
This commit is contained in:
parent
c6b54c03d0
commit
6841ab43d3
@ -164,7 +164,7 @@ export function formatStyle(
|
||||
const fn = (key: string, value: string) => {
|
||||
key = valueMap[key] || key;
|
||||
styles.push(
|
||||
`${kebabCase(key)}: ${
|
||||
`${key.startsWith('--') ? key : kebabCase(key)}: ${
|
||||
value + (weights?.important ? ' !important' : '')
|
||||
};`
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user