一些issue修改
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
@click="openWarningDetail(item, index)"
|
||||
>
|
||||
<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
|
||||
}}</d-tag>
|
||||
</div>
|
||||
@@ -284,6 +284,7 @@ onBeforeUnmount(() => {
|
||||
|
||||
const getNoticeList = async () => {
|
||||
const res: any = await getHomeNoticeList();
|
||||
debugger
|
||||
if (!res.error) {
|
||||
infoList.value = res.data.data || [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user