提交 c8bb067d 编写于 作者: fxy060608's avatar fxy060608

chore: build

上级 511562fa
......@@ -123,7 +123,8 @@ function useWebViewSize(
) {
const _resize = () => {
if (fullscreen) {
const { top, left, width, height } = rootRef.value!.getBoundingClientRect()
const { top, left, width, height } =
rootRef.value!.getBoundingClientRect()
updateElementStyle(iframeRef.value!, {
position: 'absolute',
......
......@@ -4850,7 +4850,11 @@ function findComponentPublicInstance(mpComponents, id) {
const mpInstance = mpComponents.find(com => com && (com.properties || com.props).uI === id);
if (mpInstance) {
const vm = mpInstance.$vm;
return getExposeProxy(vm.$) || vm;
if (vm) {
return getExposeProxy(vm.$) || vm;
}
// 可能是原生组件
return mpInstance;
}
return null;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册