28 lines
415 B
Vue
28 lines
415 B
Vue
|
<docs>
|
||
|
---
|
||
|
order: 4
|
||
|
title:
|
||
|
zh-CN: 自定义预览图片
|
||
|
en-US: Custom preview image
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
可以设置不同的预览图片。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
You can set different preview image.
|
||
|
|
||
|
</docs>
|
||
|
|
||
|
<template>
|
||
|
<a-image
|
||
|
:width="200"
|
||
|
src="https://aliyuncdn.antdv.com/logo.png"
|
||
|
:preview="{
|
||
|
src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
|
||
|
}"
|
||
|
/>
|
||
|
</template>
|