Commit 8da5cc8b authored by Xuguangxing's avatar Xuguangxing

fix: 处理搜索框H5显示的问题

parent d70222c3
......@@ -87,6 +87,9 @@ export default class Activity extends Mixins(TransformStyleMixin, SaMixin, Disab
}
}
mounted() {
if (!isApp && !isWxMp && !EASY_ENV_IS_NODE) {
this.pageData.elements = this.pageData.elements.filter(v => v.name !== 'cs-search-bar');
}
this.targetEle = document.querySelector('body');
if (EASY_ENV_IS_BROWSER) { this.showBackTop = true; }
this.pageVisibilityChange();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment