@@ -78,11 +78,6 @@ export default {
// #ifdef MP-WEIXIN
this.navHeight = uni.getMenuButtonBoundingClientRect().top
// #endif
- // #ifdef APP-PLUS
- if(uni.getSystemInfoSync().platform === 'android'){
- this.navHeight = 50
- }
- // #endif
},
}
</script>
@@ -46,6 +46,9 @@ export default {
// #ifdef APP-PLUS
+ if(uni.getSystemInfoSync().platform === 'android'){
+ this.navHeight = 50
+ }