提交 59a8ecca 编写于 作者: fxy060608's avatar fxy060608

fix(h5): addStylesClient

上级 20503b89
......@@ -261,12 +261,12 @@ function processCss(css) {
}
function getPage() {
var app = getApp()
var app = typeof getApp === 'function' && getApp()
return app && app.$route && app.$route.meta && app.$route.meta.name || ''
}
function getWindowOffset() {
var app = getApp()
var app = typeof getApp === 'function' && getApp()
if (app && app.$route && app.$route.meta && app.$route.meta.name) {
return {
top: app.$route.meta.windowTop,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册