提交 569fe827 编写于 作者: Q qiang

fix(App): initPageCss dispatchEvent updateview

上级 228950bc
......@@ -128,6 +128,9 @@ function initPageCss(route: string) {
element.type = 'text/css'
element.rel = 'stylesheet'
element.href = route + '.css'
element.onload = function () {
window.dispatchEvent(new CustomEvent('updateview'))
}
document.head.appendChild(element)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册