This commit is contained in:
liuye
2024-06-27 16:19:52 +08:00
parent a759c7aacf
commit 42f26c92c1
3 changed files with 6 additions and 7 deletions

View File

@@ -45,11 +45,10 @@ export default {
this.tabIndex = e.tabIndex
}
let info = uni.createSelectorQuery().select(".tab");
info.boundingClientRect((data)=> { //data - 各种参数
this.tabHeight = data.height
console.log(this.tabHeight)
}).exec()
info.boundingClientRect((data)=> { //data - 各种参数
this.tabHeight = data.height
console.log(this.tabHeight)
}).exec()
},
onShow() {