From 64c13167e17fd04aec02a93c2bc1803050a097d1 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 28 十一月 2024 03:04:52 +0800 Subject: [PATCH] 改用mounted --- src/views/components/tidingsTable.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/components/tidingsTable.vue b/src/views/components/tidingsTable.vue index 358cd14..8009d8e 100644 --- a/src/views/components/tidingsTable.vue +++ b/src/views/components/tidingsTable.vue @@ -115,8 +115,8 @@ } }, props: { - calculation: [], - countExceptionProjectData: {}, + calculation: Array, + countExceptionProjectData:Object, }, created() { this.currentTabId = this.tabs[0].id; // 榛樿閫変腑鐨則ab鐨刬d @@ -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; } -- Gitblit v1.8.0