mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:48:13 +08:00
theme: 优化
This commit is contained in:
parent
89fbbff6bb
commit
4b2635abbc
@ -255,7 +255,9 @@ export function insertCustomStyle(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const {value} = formatStyle(themeCss, classNames, id, defaultData);
|
const {value} = formatStyle(themeCss, classNames, id, defaultData);
|
||||||
insertStyle(value, id?.replace('u:', '') || uuid());
|
if (value) {
|
||||||
|
insertStyle(value, id?.replace('u:', '') || uuid());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user