From 98c14cac64543718ca40f0715ba5ab16f325b40c Mon Sep 17 00:00:00 2001 From: wanganxp Date: Mon, 6 May 2024 05:11:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95iOS=E7=9A=84tabbar=E7=94=9F?= =?UTF-8?q?=E5=91=BD=E5=91=A8=E6=9C=9F=E9=A6=96=E6=AC=A1=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabBar/API.uvue | 9 +++++++++ pages/tabBar/component.uvue | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index f550acb3..7dd04bd5 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -553,6 +553,15 @@ arrowRightIcon: '/static/icons/arrow-right.png', } }, + onLoad() { + // console.log("API page onLoad") + }, + onShow() { + // console.log("API page onShow") + }, + onHide() { + // console.log("API page onHide") + }, methods: { goDetailPage(e : Page) { if (e.enable == false) { diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue index dfb6bd55..7b6c8920 100644 --- a/pages/tabBar/component.uvue +++ b/pages/tabBar/component.uvue @@ -312,11 +312,16 @@ // #ifdef UNI-APP-X && APP checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance) // #endif + }, + onLoad() { + // console.log("component page onLoad") }, onShow() { + // console.log("component page onShow") this.pageHiden = false }, onHide() { + // console.log("component page onHide") this.pageHiden = true }, beforeUnmount() { -- GitLab