一些issue修改
This commit is contained in:
@@ -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 || [];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user