Commit 6207f6df authored by 周昊's avatar 周昊

1、修改四色图颜色关联固有风险颜色

parent feeb85f6
......@@ -275,7 +275,7 @@ export default {
item.position.isDraggable = false;
item.position.isResizable = false;
}
if (!this.isViews || item.position.type == "thorough") {
if (!this.isViews ) {
//添加页面不显示颜色
item.position.c = "#e6e5e5";
} else {
......@@ -293,7 +293,7 @@ export default {
// }else if (item.score>=0 && item.score <= 6) { //差
// item.position.c = this.colorList[0]
// }
item.position.c = this.colorList[Math.floor(Math.random() * 4)];
item.position.c = item.color;
}
this.layout.push(item.position);
});
......
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