From b669f00d92ee4daa5becc4042d0bfa138ffad415 Mon Sep 17 00:00:00 2001 From: JayChou Date: Wed, 27 Nov 2024 22:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=89=E9=A2=98=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/registrationGroup/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/registrationGroup/index.vue b/src/views/registrationGroup/index.vue index 3ab0fb7..a04e5d9 100644 --- a/src/views/registrationGroup/index.vue +++ b/src/views/registrationGroup/index.vue @@ -244,6 +244,9 @@ const options = ref([]) const getTopicListApi = async () => { const res: any = await getTopicList({ annualCompid: route.query.id }) console.log(res) + if(!(res.result.length == 0)){ + ruleForm.topicId = res.result[0].id + } options.value = res.result.map((item) => { return { value: item.id,