修改安全传感器颜色
This commit is contained in:
parent
08bc81955c
commit
9d3b769d7d
@ -66,7 +66,7 @@ let item:any = computed(() => {
|
|||||||
return props.value[i.value];
|
return props.value[i.value];
|
||||||
});
|
});
|
||||||
let iconcolor = computed(() => {
|
let iconcolor = computed(() => {
|
||||||
return item.status?item.val > props.limit ? "icon-red" : "icon-blue":"icon-grey";
|
return props.value[i.value].status?item.val > props.limit ? "icon-red" : "icon-blue":"icon-grey";
|
||||||
});
|
});
|
||||||
let props = defineProps<{
|
let props = defineProps<{
|
||||||
title: string;
|
title: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user