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 ba8c97f0d395774409bcb9fa9e718c9c28f2a8a7..9c781aa6f4b018b449a68b800365b235aed2fb0b 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 bf15977647c8fe6f658327051cc67edbef98840f..186f71e1ff180abba9819e58e085750a6acce0a5 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 @@