Parcourir la source

底部hideTabBar处理

tanxue il y a 4 mois
Parent
commit
281d565d46
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 1 0
      pages/chanpinMy/my.vue
  2. 3 0
      pages/game/index.vue

+ 1 - 0
pages/chanpinMy/my.vue

@@ -117,6 +117,7 @@
 	}
 
 	onLoad((options) => {
+		uni.hideTabBar()
 		getMyInfo();
 	})
 </script>

+ 3 - 0
pages/game/index.vue

@@ -89,6 +89,9 @@
 			foodSelectRef.value.handleClose();
 		})
 	}
+	onLoad((options) => {
+		uni.hideTabBar()
+	})
 </script>
 
 <style>