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