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 : '' }); }