diff --git a/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue b/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue index d1a24c789..68b64a451 100644 --- a/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue +++ b/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue @@ -130,14 +130,14 @@ export default { id = Math.max(parseInt(item.id.slice(8)), id); } }); - return 'ter_rai_' + id; + return 'ter_rai_' + (id + 1); } else if (type === 'EMERGENCY') { this.clientEmergencyList.forEach(item => { if (item.id) { id = Math.max(parseInt(item.id.slice(8)), id); } }); - return 'ter_eme_' + id; + return 'ter_eme_' + (id + 1); } }, keyGeneration() {