mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-05 10:28:34 +08:00
fix: eval css
This commit is contained in:
@@ -76,7 +76,7 @@ function resetStyle({ css, el }) {
|
||||
each(cssMap, (val, key) => {
|
||||
css = css.replace(
|
||||
new RegExp(escapeRegExp(`$${val}:`), 'g'),
|
||||
';' + key + ':'
|
||||
key + ':'
|
||||
)
|
||||
})
|
||||
const _keys = keys(themes.Light)
|
||||
|
||||
Reference in New Issue
Block a user