update
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user