This commit is contained in:
王一嘉
2025-07-24 16:21:01 +08:00
parent 7658c63b46
commit 54bdfb6261

View File

@@ -13,7 +13,7 @@ export const useSystemStore = defineStore('SystemStore', () => {
});
const getMessageCount = async () => {
const {data: {list}} = await Api.system.getMessageCenter({type: 2});
const {data: {list}} = await Api.system.getMessageCenter({type: 1});
list.forEach(data => {
const now = message.value.find(v => v.id === data.id);
if (!now) message.value.push({...data, is_read: false});