diff --git a/src/views/system/DashboardComponents/toDo.vue b/src/views/system/DashboardComponents/toDo.vue index 87cd985..f98004a 100644 --- a/src/views/system/DashboardComponents/toDo.vue +++ b/src/views/system/DashboardComponents/toDo.vue @@ -46,6 +46,17 @@ + + @@ -143,7 +154,7 @@ export default { this.init() }, methods: { - async getNotices(loading=false) { + async getNotices(loading = false) { try { if (loading) { this.loading = true @@ -155,7 +166,8 @@ export default { params: this.select }) if (res.status === 200) { - this.list = res.data.data?.data + this.list = res.data.data?.result + this.total = res.data.data?.total } this.loading = false } catch (err) { @@ -174,7 +186,7 @@ export default { this.tableHeight = cardDom.getBoundingClientRect().height - 40 - - cardTitleH + cardTitleH - 32 }) },