<template>
  <n-tag v-if="props.topFlag === Boolean(DISCOVER_TOPFLAG_TRUE)" size="small" strong :bordered="false" type="success"
    >是</n-tag
  >
  <n-tag v-if="props.topFlag === Boolean(DISCOVER_TOPFLAG_FALSE)" size="small" :bordered="false" disabled>否</n-tag>
</template>
<script setup lang="ts">
import { DISCOVER_TOPFLAG_FALSE, DISCOVER_TOPFLAG_TRUE } from '@/const';

interface Props {
  topFlag: boolean;
}
const props = defineProps<Props>();
</script>
