|
@@ -136,7 +136,7 @@ watch(() => noticeStore.isInitialized, () => {
|
|
|
const showUnread = props.showUnread && localValue !== readValue // 未读消息一天内只会弹框一次
|
|
const showUnread = props.showUnread && localValue !== readValue // 未读消息一天内只会弹框一次
|
|
|
|
|
|
|
|
// 过滤数据
|
|
// 过滤数据
|
|
|
- const filteredData = noticeStore.noticeList.filter((e) => (showUnread && !e.readed) || e.isforcedisplay)
|
|
|
|
|
|
|
+ const filteredData = noticeStore.localizedNoticeList.filter((e) => (showUnread && !e.readed) || e.isforcedisplay)
|
|
|
// 浅拷贝,防止数据引用
|
|
// 浅拷贝,防止数据引用
|
|
|
message.dataList = filteredData.map((e) => ({ ...e }))
|
|
message.dataList = filteredData.map((e) => ({ ...e }))
|
|
|
|
|
|