fix: URL preview popup for local URL appears in the upper left corner (#13555)
This commit is contained in:
@@ -49,7 +49,7 @@ if (props.showUrlPreview) {
|
||||
os.popup(defineAsyncComponent(() => import('@/components/MkUrlPreviewPopup.vue')), {
|
||||
showing,
|
||||
url: props.url,
|
||||
source: el.value,
|
||||
source: el.value instanceof HTMLElement ? el.value : el.value?.$el,
|
||||
}, {}, 'closed');
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user