第四步:基础设施点数据分类显示

This commit is contained in:
2026-06-26 15:48:43 +08:00
parent b913bea524
commit 629c780e45
7 changed files with 320 additions and 11 deletions
@@ -31,7 +31,7 @@
<el-option
v-for="(opt, index) in selectOptions"
:key="index"
:label="opt.value === PointType.RISK_AREA || opt.value === InfrastructurePointType.HOSPITAL ? opt.label : `${opt.label}预警点`"
:label="opt.value === PointType.RISK_AREA || Object.values(InfrastructurePointType).includes(opt.value as InfrastructurePointType) ? opt.label : `${opt.label}预警点`"
:value="opt.value"
/>
</el-select>