luohairen
2024-11-25 2d0dd4f12d0f58c45e8c1de919b689bd97b88b08
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;
                    }