bug修复

This commit is contained in:
zhanchao 2026-09-16 10:02:37 +08:00
parent f91be96986
commit 37d064c03b

View File

@ -105,7 +105,7 @@ const confirmText = computed(() => (type.value === "cert" ? "下一步" : "保
const jobStr = computed(() => { const jobStr = computed(() => {
const jobs = const jobs =
formData.value && Array.isArray(formData.value.job) formData.value && Array.isArray(formData.value.job)
? formData.value.job.filter((i) => i === "assistant" || i === "doctor") ? formData.value.job.filter((i) => i === "assistant" || i === "doctor" || i==="HealthConsultant")
: []; : [];
return jobs[0] && job[jobs[0]] ? job[jobs[0]] : ""; return jobs[0] && job[jobs[0]] ? job[jobs[0]] : "";
}); });