We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.0
https://github.com/gfppower/vue-antd-test
我期望我的image的预览窗口在指定的容器内生成。目前配置不成功。
期望能在本案例中将预览窗口生成在balabala这个容器内。
<template> <div class="balabala" ref="balabala"> <a-image :width="200" :preview="previewType" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png" /> </div> </template> <script lang="ts"> import { defineComponent,h ,computed,ref} from "vue"; export default defineComponent({ name: "AppAvailable", setup(props, context) { const balabala = ref(null) const previewType = { getContainer:balabala.value } return { balabala,previewType } } }); </script>
中的getContainer方法不生效。无法将预览窗口生成在balabala窗口中
The text was updated successfully, but these errors were encountered:
对,不生效(在Image.PreviewGroup内)
Sorry, something went wrong.
fix: image preview not work vueComponent#3701
4a43bf8
fix: image preview not work #3701 (#3956)
fb5d2e5
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
John60676
No branches or pull requests
Version
2.0.0
Environment
2.0.0
Reproduction link
https://github.com/gfppower/vue-antd-test
Steps to reproduce
我期望我的image的预览窗口在指定的容器内生成。目前配置不成功。
What is expected?
期望能在本案例中将预览窗口生成在balabala这个容器内。
What is actually happening?
中的getContainer方法不生效。无法将预览窗口生成在balabala窗口中
The text was updated successfully, but these errors were encountered: