一些issue修改

This commit is contained in:
付民康
2025-03-21 10:07:54 +08:00
parent cc87314dcb
commit 4cd4794dcb

View File

@@ -87,7 +87,7 @@
@click="openWarningDetail(item, index)" @click="openWarningDetail(item, index)"
> >
<span>{{ item.subject }}</span> <span>{{ item.subject }}</span>
<d-tag v-if="item.importance" :color="tagMap[item.importance].color" size="sm">{{ <d-tag v-if="item.importance" :color="tagMap[item.importance]?.color || ''" size="sm">{{
tagMap[item.importance].text tagMap[item.importance].text
}}</d-tag> }}</d-tag>
</div> </div>
@@ -284,6 +284,7 @@ onBeforeUnmount(() => {
const getNoticeList = async () => { const getNoticeList = async () => {
const res: any = await getHomeNoticeList(); const res: any = await getHomeNoticeList();
debugger
if (!res.error) { if (!res.error) {
infoList.value = res.data.data || []; infoList.value = res.data.data || [];
} }