ant-design-vue/components/popconfirm/demo/local.vue
2018-01-15 17:33:34 +08:00

21 lines
339 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div>
<md>
## 国际化
使用 `okText` `cancelText` 自定义按钮文字
</md>
<Popconfirm title="Are you sure" okText="Yes" cancelText="No">
<a href="#">Delete</a>
</Popconfirm>
</div>
</template>
<script>
import { Popconfirm } from 'antd'
export default {
components: {
Popconfirm,
},
}
</script>