fix(render): Remove getRootNode to be compatible with the lower version of Chrome, fixed #225
This commit is contained in:
parent
7191d702e1
commit
b8dd346baf
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ export function initRender (vm) {
|
|||
|
||||
if (config.themeColor) {
|
||||
dom.$.head.appendChild(
|
||||
dom.create('div', tpl.theme(config.themeColor)).getRootNode()
|
||||
dom.create('div', tpl.theme(config.themeColor)).firstElementChild
|
||||
)
|
||||
// Polyfll
|
||||
cssVars(config.themeColor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue