浏览代码

底部hideTabBar处理

tanxue 2 月之前
父节点
当前提交
281d565d46
共有 2 个文件被更改,包括 4 次插入0 次删除
  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>