From fad3d9cbb3d120a3edd558ec0f6ef263796c3d31 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期日, 28 四月 2024 15:22:39 +0800 Subject: [PATCH] fix:修改判断 --- src/views/system/result/detail/index1.vue | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/views/system/result/detail/index1.vue b/src/views/system/result/detail/index1.vue index 04d8a5f..72c3c32 100644 --- a/src/views/system/result/detail/index1.vue +++ b/src/views/system/result/detail/index1.vue @@ -147,14 +147,8 @@ getList() { this.tableLoading = true; detailScore(this.queryParams).then(response => { - console.log(response); - if (response.rows) { - this.tableData = response.rows; - this.total = response.total; - } else { - this.tableData = []; - this.total = 0; - } + this.tableData = response.rows; + this.total = response.total; this.tableLoading = false; }); }, -- Gitblit v1.8.0