参考 参考
//两个下拉框的子集关系 const subRelation = () => { primaryDiagnosisMore.value = []; data.initialDiagnosisMore = ''; for (const i of primaryDiagnosis.value){ console.log('i', i); if (data.initialDiagnosis === i.typeName) { primaryDiagnosisMore.value = i.children; } } };