perf: reduce ref update times
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user