wupengfei
2025-02-25 e7b532e0514eae9c426465da6e6f922e6e9a0696
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<template>
  <div class="confirm-dialog-content-info-item" :class="{ danger }">
    <div class="confirm-dialog-content-info-item-label">{{ label }}</div>
    <div class="confirm-dialog-content-info-item-content">{{ content }}</div>
  </div>
</template>
 
<script setup lang="ts">
defineOptions({
  name: 'ConfirmDialogInfoItem',
});
 
type Props = {
  label?: string;
  content?: string | number;
  danger?: boolean;
};
 
const props = withDefaults(defineProps<Props>(), {});
</script>