diff --git a/src/layouts/common/GlobalHeader/components/MessageList.vue b/src/layouts/common/GlobalHeader/components/MessageList.vue index 0983054be..3d7ce0222 100644 --- a/src/layouts/common/GlobalHeader/components/MessageList.vue +++ b/src/layouts/common/GlobalHeader/components/MessageList.vue @@ -14,7 +14,7 @@ - + {{ item.title }} {{ item.title }} @@ -25,7 +25,7 @@ {{ item.tagTitle }} - + {{ item.description }} {{ item.date }} @@ -40,8 +40,6 @@ import { Icon } from '@iconify/vue'; interface Props { list?: Message.List[]; - titleRows?: number; - descRows?: number; } interface Emits { @@ -49,9 +47,7 @@ interface Emits { } withDefaults(defineProps(), { - list: () => [], - titleRows: 1, - descRows: 2 + list: () => [] }); const emit = defineEmits(); diff --git a/src/layouts/common/GlobalHeader/components/SystemMessage.vue b/src/layouts/common/GlobalHeader/components/SystemMessage.vue index 32ccd2c73..8e3f32ed8 100644 --- a/src/layouts/common/GlobalHeader/components/SystemMessage.vue +++ b/src/layouts/common/GlobalHeader/components/SystemMessage.vue @@ -1,18 +1,17 @@ - + - + - + @@ -21,7 +20,7 @@ v-bind="item.badgeProps" :value="item.list.filter(message => !message.isRead).length" :max="99" - :show="item.list.length !== 0" + show-zero />
{{ item.date }}