From f14ea940fb32105de8b592992e3f53c62f31d84d Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 22 一月 2026 16:42:51 +0800
Subject: [PATCH] 2026.1.22

---
 component/switchtab/switchtab.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/component/switchtab/switchtab.js b/component/switchtab/switchtab.js
index fb33732..a3b3469 100644
--- a/component/switchtab/switchtab.js
+++ b/component/switchtab/switchtab.js
@@ -57,7 +57,7 @@
       if (e) {
         setTimeout(() => {
           const p = `.page${this.data.currentTab}`
-          console.log(p);
+          // console.log(p);
           this.tabsHeight(p);
         }, 50);
       }
@@ -65,7 +65,7 @@
     //璁$畻swiper楂樺害鏂规硶锛堝湪鍒囨崲鐨勬椂鍊欒皟鐢級
     tabsHeight(element) {
       let that = this;
-      let query = this.createSelectorQuery(); //蹇呴』瑕佸厛鍒涘缓涓�涓煡璇�
+      let query = this.createSelectorQuery().in(this); //蹇呴』瑕佸厛鍒涘缓涓�涓煡璇�
       query.select(element).boundingClientRect(function (rect) {
         that.setData({
           pageheight: rect.height + 'px'

--
Gitblit v1.9.3