// uni-drawer抽屉状态发生变化触发
change(e, type) {
this.$nextTick(()=>{
var height = 0;
uni.createSelectorQuery().in(this).selectAll('drawer')
.boundingClientRect().exec(res => {
height = res[0][0].height;
})
})
}
結果height為0
有沒有大佬幫忙看一下問題!!!

菜鳥飛飛飛
- 发布:2023-04-06 17:13
- 更新:2023-04-06 17:13
- 阅读:159
0 个回复