Commit bfe5494d authored by 邓超's avatar 邓超

fix: 修改选择角度无效

parent 08219237
Pipeline #52642 passed with stages
......@@ -36,10 +36,11 @@ const ColorLinear = props => {
} else {
setColorValue(colorList[0]);
}
}, [colorList]);
}, [colorList, angle]);
// 渐变角度切换
const onChange = e => {
console.log(e, 'eeeee');
setAngle(e);
};
const addColor = () => {
......@@ -63,6 +64,7 @@ const ColorLinear = props => {
onSubumit(colorValue);
handleCancel();
};
console.log(angle, 'angle');
return (
<Modal
title="顶部颜色配置"
......
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