fix: style rerender due to setting themeColor
This commit is contained in:
parent
f59aac478a
commit
17ff3d1506
1 changed files with 3 additions and 1 deletions
|
|
@ -211,7 +211,9 @@ export function initRender (vm) {
|
||||||
dom.before(navAppendToTarget, navEl)
|
dom.before(navAppendToTarget, navEl)
|
||||||
|
|
||||||
if (config.themeColor) {
|
if (config.themeColor) {
|
||||||
dom.$.head.innerHTML += tpl.theme(config.themeColor)
|
dom.$.head.appendChild(
|
||||||
|
dom.create('div', tpl.theme(config.themeColor)).getRootNode()
|
||||||
|
)
|
||||||
// Polyfll
|
// Polyfll
|
||||||
cssVars(config.themeColor)
|
cssVars(config.themeColor)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue