|
@@ -2,7 +2,7 @@ export function extractAndInsertSpecificFont(hostNode, fontFamily) {
|
|
const useTopHead = () => {
|
|
const useTopHead = () => {
|
|
let head = null
|
|
let head = null
|
|
try {
|
|
try {
|
|
- head = window.__use_top__().$root.$el.parentNode.parentNode.querySelector('head')
|
|
|
|
|
|
+ head = window.__use_top__().$root.$el
|
|
} catch (e) {
|
|
} catch (e) {
|
|
console.warn('not find __use_top__')
|
|
console.warn('not find __use_top__')
|
|
}
|
|
}
|