src/views/components/tidingsTable.vue
@@ -115,8 +115,8 @@ } }, props: { calculation: [], countExceptionProjectData: {}, calculation: Array, countExceptionProjectData:Object, }, created() { this.currentTabId = this.tabs[0].id; // 默认选中的tab的id @@ -137,7 +137,7 @@ async getMessageCountFun() { const resp = await getMessageCount(); if (resp.code === 200) { this.tabs = tabs.map((tab) => { this.tabs = this.tabs.map((tab) => { if (tab.label === '审核消息') { tab.num = resp.data.auditCount; }