From b31e7d3913136d02ada1aa2e7bbbf1bc185e6a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E8=BE=89?= <13935151924@163.com> Date: Thu, 13 Nov 2025 12:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E8=83=BD=E5=AD=97=E6=AE=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/complete-info/complete-info.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/complete-info/complete-info.vue b/pages/complete-info/complete-info.vue index 6e540de..f1c57c6 100644 --- a/pages/complete-info/complete-info.vue +++ b/pages/complete-info/complete-info.vue @@ -772,18 +772,18 @@ function complete() { } if (isValid) { - // 构建 experiencesList 数组 - 使用新的技能数据结构 - const experiencesList = []; + // 构建 appSkillsList 数组 - 使用新的技能数据结构 + const appSkillsList = []; state.skills.forEach(skill => { if (skill.name && skill.level) { - experiencesList.push({ + appSkillsList.push({ name: skill.name, levels: skill.level }); } }); - // 构建符合要求的请求数据(experiencesList 与 appUser 同级) + // 构建符合要求的请求数据(appSkillsList 与 appUser 同级) const requestData = { appUser: { name: fromValue.name, @@ -799,7 +799,7 @@ function complete() { salaryMax: fromValue.salaryMax, ytjPassword: fromValue.ytjPassword }, - experiencesList: experiencesList + appSkillsList: appSkillsList }; $api.createRequest('/registerUser', requestData, 'post').then(async (resData) => {