You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
返回错误信息如下:
获取item元素信息失败 Error: getBoundingClientRect cannot get nodeId of ElementNode(div) or ElementNode(div) is not mounted
at eval (webpack-internal:///./node_modules/@hippy/vue/dist/index.js:12211:23)
at new Promise ()
at Object.getBoundingClientRect (webpack-internal:///./node_modules/@hippy/vue/dist/index.js:12209:12)
at eval (webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/@hippy/vue-loader/lib/index.js?!./node_modules/scope-loader/index.js!./src/pages/second.vue?vue&type=script&lang=js&:27:58)
at TimerModule.js:4:36
描述错误
measureInAppWindow和getBoundingClientRect获取循环组件的尺寸和位置信息失败。循环组件及外层加了对应的collapsable属性也是报错,而去掉v-for循环则能够正常返回
返回错误信息如下:
获取item元素信息失败 Error: getBoundingClientRect cannot get nodeId of ElementNode(div) or ElementNode(div) is not mounted
at eval (webpack-internal:///./node_modules/@hippy/vue/dist/index.js:12211:23)
at new Promise ()
at Object.getBoundingClientRect (webpack-internal:///./node_modules/@hippy/vue/dist/index.js:12209:12)
at eval (webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/@hippy/vue-loader/lib/index.js?!./node_modules/scope-loader/index.js!./src/pages/second.vue?vue&type=script&lang=js&:27:58)
at TimerModule.js:4:36
预期行为
针对循环组件的元素,调用measureInAppWindow和getBoundingClientRect能正常返回对应的尺寸和位置信息。
版本
-Hippy原生SDK版本:3.3.0
-前端SDK和版本[@hippy/vue 2]
The text was updated successfully, but these errors were encountered: