ant-design-vue/components/popconfirm/demo/local.md

333 B
Raw Blame History

#### 国际化 使用 `okText` 和 `cancelText` 自定义按钮文字。 #### Locale text Set `okText` and `cancelText` props to customize the button's labels.
<template>
  <a-popconfirm title="Are you sure" okText="Yes" cancelText="No">
    <a href="#">Delete</a>
  </a-popconfirm>
</template>