隐患点风险点添加颜色
This commit is contained in:
@@ -25,10 +25,10 @@ export const useHiddenPoint = () => {
|
||||
};
|
||||
|
||||
/**
|
||||
* 颜色
|
||||
* 样式
|
||||
*/
|
||||
const color = {
|
||||
probability: 'red',
|
||||
const style = {
|
||||
probability: { background: '#888888' },
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -59,5 +59,5 @@ export const useHiddenPoint = () => {
|
||||
}
|
||||
}
|
||||
|
||||
return { field, color, getDisasterIcon };
|
||||
return { field, style, getDisasterIcon };
|
||||
};
|
||||
|
||||
@@ -29,10 +29,10 @@ export const useRiskPoint = () => {
|
||||
};
|
||||
|
||||
/**
|
||||
* 颜色
|
||||
* 样式
|
||||
*/
|
||||
const color = {
|
||||
probability: 'red',
|
||||
const style = {
|
||||
probability: { background: '#888888' },
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -43,5 +43,5 @@ export const useRiskPoint = () => {
|
||||
return riskAreaIcon;
|
||||
}
|
||||
|
||||
return { informationBoxTitle, field, color, getDisasterIcon };
|
||||
return { informationBoxTitle, field, style, getDisasterIcon };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user