riku
2024-05-15 80079d9802dd2445820b112fe818d61e1cc21c6f
src/components/monitor/FactorLegend.vue
@@ -33,7 +33,7 @@
<script>
import { Legend } from '@/model/Legend';
import { factorUnit } from '../../constant/factor-unit';
import { factorUnit } from '@/constant/factor-unit';
import { Factor } from '@/model/Factor';
export default {
@@ -103,7 +103,7 @@
          color: bgColor,
          min: r[0],
          max: nextR ? nextR[0] : undefined,
          unit: factorUnit[name]
          unit: factorUnit[name] ? factorUnit[name].unit : ''
        });
      }