fix: 修复NCardHeader导出错误

This commit is contained in:
Sens 2026-02-21 00:47:36 +08:00
parent 20d4048543
commit c350fbb38b
1 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@
'new-signal-flash': isNewSignal(signal.latestSignal)
}"
>
<n-card-header>
<template #header>
<div style="display: flex; justify-content: space-between; align-items: center;">
<div style="display: flex; align-items: center; gap: 6px;">
<n-tag :type="getPriorityType(signal.latestSignal?.priority || 'medium')" size="small" round>
@ -145,7 +145,7 @@
</div>
<n-text depth="3" style="font-size: 12px;">{{ formatDate(signal.created_at) }}</n-text>
</div>
</n-card-header>
</template>
<n-text class="signal-content" :depth="1">{{ signal.content }}</n-text>
</n-list-item>
</n-list>
@ -577,7 +577,7 @@ import { ref, onMounted, onUnmounted, reactive, watch, computed } from 'vue'
import {
NLayout, NLayoutSider, NLayoutContent, NSpace, NCard, NButton, NList, NListItem, NTag, NText,
NGrid, NGridItem, NScrollbar, NSpin, NModal, NForm, NFormItem,
NInput, useMessage, NProgress, NIcon, NSteps, NStep, NStatistic, NCardHeader
NInput, useMessage, NProgress, NIcon, NSteps, NStep, NStatistic
} from 'naive-ui'
import axios from 'axios'
import VChart from 'vue-echarts'