customize.vue 400 B

123456789101112131415161718
  1. <template>
  2. <el-popconfirm
  3. width="220"
  4. confirm-button-text="OK"
  5. cancel-button-text="No, Thanks"
  6. :icon="InfoFilled"
  7. icon-color="#626AEF"
  8. title="Are you sure to delete this?"
  9. >
  10. <template #reference>
  11. <el-button>Delete</el-button>
  12. </template>
  13. </el-popconfirm>
  14. </template>
  15. <script setup lang="ts">
  16. import { InfoFilled } from '@element-plus/icons-vue'
  17. </script>