perf: reduce ref update times

This commit is contained in:
yangsy
2025-08-26 12:36:43 +08:00
parent a0a56e43f2
commit 0098750698
3 changed files with 9 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ useLineAlarmsQuery();
<template>
<NGrid :cols="8" :x-gap="6" :y-gap="6" style="padding: 8px">
<NGi v-for="station in stationList" :key="station.name">
<NGi v-for="station in stationList" :key="station.code">
<StationCard :station="station" :station-devices="lineDevices[station.code]" :station-alarms="lineAlarms[station.code]" />
</NGi>
</NGrid>