uniapp解决在nvue不能获取节点信息得问题
作者:互联网
// #ifdef APP-NVUE
const dom = weex.requireModule('dom')
// #endif
const result = dom.getComponentRect(this.$refs.examplebody, option => {
console.log('getComponentRect:', option)
this.$emit("getNavTab",option.size.height)
})
标签:uniapp,nvue,const,option,dom,getNavTab,refs,节点,getComponentRect 来源: https://blog.csdn.net/m0_49609366/article/details/120155273