From 32fbd95a235c8273b11956830d1805af1f54fbef Mon Sep 17 00:00:00 2001 From: Cool <747682928@qq.com> Date: Mon, 9 Sep 2024 23:05:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E6=9F=A5=E8=AF=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cet/cet-student-query.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/cet/cet-student-query.vue b/src/views/cet/cet-student-query.vue index da6a43a..4ab8832 100644 --- a/src/views/cet/cet-student-query.vue +++ b/src/views/cet/cet-student-query.vue @@ -7,7 +7,7 @@ - + 查询 @@ -44,6 +44,7 @@ import { reactive, ref } from 'vue'; import type { UnwrapRef } from 'vue'; import { message } from 'ant-design-vue'; import type { Rule } from 'ant-design-vue/es/form'; +import { table } from 'console'; interface FormState { name: string; id: string; @@ -99,7 +100,7 @@ const rules: Record = { ], }; const url = ref({ - getData: 'cet/getData', + getData: '/cet_4/getDataByStudent', }); const formRef = ref(); const handleSearch = () => { @@ -108,7 +109,8 @@ const handleSearch = () => { url: url.value.getData, params: search, }); - console.log(1231); + tableData.value = tableData.value.results; + console.log(tableData.value); if (tableData.value.length > 0) { isShow.value = true; } else {