Commit 311db9df by zhaochengxiang

解决模型时候,拖动字段丢失编辑按钮消失问题

parent afed889e
......@@ -882,7 +882,7 @@ const ImportActionIndex = (props) => {
onChange && onChange(newData);
},
//eslint-disable-next-line react-hooks/exhaustive-deps
[dataRef.current],
[dataRef.current, onChange],
);
const onSearchInputChange = (value) => {
......
......@@ -1175,7 +1175,7 @@ export const ImportActionTable = (props) => {
onChange && onChange(newData);
},
//eslint-disable-next-line react-hooks/exhaustive-deps
[moveRowRef.current],
[moveRowRef.current, onChange],
);
const onSearchInputChange = (value) => {
......
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