diff --git a/src/layouts/default/header/components/notify/data.ts b/src/layouts/default/header/components/notify/data.ts index 3c933b2..f1de502 100644 --- a/src/layouts/default/header/components/notify/data.ts +++ b/src/layouts/default/header/components/notify/data.ts @@ -51,14 +51,14 @@ export const tabListData: TabItem[] = [ // unreadNum: 0, // }, { - key: '3', + key: '3', // 4 name: t('工作流'), list: [], read: [], unreadNum: 0, }, { - key: '4', + key: '4', // 5 name: t('系统通知'), list: [], unreadNum: 0, diff --git a/src/layouts/default/header/components/notify/index.vue b/src/layouts/default/header/components/notify/index.vue index 4bc7c70..193cd2b 100644 --- a/src/layouts/default/header/components/notify/index.vue +++ b/src/layouts/default/header/components/notify/index.vue @@ -101,7 +101,7 @@ @click=" () => { it.read = 1; - setReadSingle(it.id, item.key); + setReadSingle(it.id, item.key, it); } " > @@ -115,7 +115,19 @@ + + + {{ t('查看更多') }} 》 + + @@ -148,6 +160,9 @@ /> + + +