mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
21 lines
339 B
Vue
21 lines
339 B
Vue
<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>
|