From df64e29465c6595de7f7c48ee2efcb8c9b65cf8e Mon Sep 17 00:00:00 2001 From: wanganxp Date: Tue, 28 May 2024 05:55:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=87=AA=E5=AE=9A=E4=B9=89ta?= =?UTF-8?q?bbar=E7=9A=84=E4=B8=9A=E5=8A=A1=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E4=BD=86=E5=8F=91=E7=8E=B0=E4=BA=86Android=E5=92=8CiOS?= =?UTF-8?q?=E7=9A=84v-show=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom-tab-bar/custom-tab-bar-tab1.uvue | 2 ++ .../custom-tab-bar/custom-tab-bar.uvue | 23 ++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/pages/template/custom-tab-bar/custom-tab-bar-tab1.uvue b/pages/template/custom-tab-bar/custom-tab-bar-tab1.uvue index ba8c97f0..9c781aa6 100644 --- a/pages/template/custom-tab-bar/custom-tab-bar-tab1.uvue +++ b/pages/template/custom-tab-bar/custom-tab-bar-tab1.uvue @@ -24,6 +24,7 @@ }, created() { this.loadData() + console.log("tab1 created"); }, methods: { loadData() { @@ -40,6 +41,7 @@ }, scrollTop(top : number) { (this.$refs["listView"] as UniElement).scrollTop = top + console.log("tab1 to top"); } } } diff --git a/pages/template/custom-tab-bar/custom-tab-bar.uvue b/pages/template/custom-tab-bar/custom-tab-bar.uvue index bf159776..186f71e1 100644 --- a/pages/template/custom-tab-bar/custom-tab-bar.uvue +++ b/pages/template/custom-tab-bar/custom-tab-bar.uvue @@ -1,6 +1,7 @@