提交 f0e65335 编写于 作者: 张磊's avatar 张磊

init token at main

上级 731d00ec
......@@ -76,10 +76,9 @@ export default {
// this.scrollTabs(index);
},
setHeight() {
const ua = navigator.userAgent.toLowerCase();
const isAndroid = /(Android)/i.test(ua);
const isAndroid = this.$rocNative.isAndroid;
if (isAndroid) {
this.toHeaderDis = '85px';
this.toHeaderDis = '65px';
} else {
this.toHeaderDis = '56px';
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册