ant-design-vue/antdv-demo/docs/empty/demo/simple.md

24 lines
472 B
Markdown

<cn>
#### ้€‰ๆ‹ฉๅ›พ็‰‡
ๅฏไปฅ้€š่ฟ‡่ฎพ็ฝฎ `image` ไธบ `Empty.PRESENTED_IMAGE_SIMPLE` ้€‰ๆ‹ฉๅฆไธ€็ง้ฃŽๆ ผ็š„ๅ›พ็‰‡ใ€‚
</cn>
<us>
#### Chose image
You can choose another style of `image` by setting image to `Empty.PRESENTED_IMAGE_SIMPLE`.
</us>
```vue
<template>
<a-empty :image="simpleImage" />
</template>
<script>
import { Empty } from 'ant-design-vue';
export default {
beforeCreate() {
this.simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
},
};
</script>
```