Commit 270bea1a authored by Cai Wei's avatar Cai Wei

fix(*): 除尘器总览跳转问题修复

parent 9745cd74
......@@ -48,7 +48,7 @@ const poppetValve = ref(100);
const customColors = [
{ color: "#ff6a6a", percentage: 60 },
{ color: "#f5c701", percentage: 80 },
{ color: "#f5c701", percentage: 90 },
{ color: "#08c733", percentage: 100 },
];
......@@ -61,10 +61,10 @@ const msgList = ref([
const mapList = ref([]);
const customColorMethod = (percentage) => {
if (percentage < 60) {
if (percentage < 70) {
return customColors[0].color;
}
if (percentage < 90) {
if (percentage < 100) {
return customColors[1].color;
}
return customColors[2].color;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment