parent
97167fdb7a
commit
fb5d2e5054
|
@ -281,7 +281,7 @@ const ImageInternal = defineComponent({
|
|||
mousePosition={mousePosition.value}
|
||||
src={mergedSrc}
|
||||
alt={alt}
|
||||
getContainer={getPreviewContainer}
|
||||
getContainer={getPreviewContainer.value}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
|
|
@ -252,6 +252,7 @@ const Preview = defineComponent({
|
|||
afterClose={onAfterClose}
|
||||
visible={props.visible}
|
||||
wrapClassName={wrapClassName}
|
||||
getContainer={props.getContainer}
|
||||
>
|
||||
<ul class={`${props.prefixCls}-operations`}>
|
||||
{tools.map(({ icon: IconType, onClick, type, disabled }) => (
|
||||
|
|
Loading…
Reference in New Issue