Commit cb52c1df authored by 涂茜's avatar 涂茜

fix: bug

parent 4e4f88bd
Pipeline #29215 failed with stages
in 16 seconds
......@@ -29,6 +29,10 @@ const DeviceTree = (props) => {
setParams(serviceParams);
}, []);
useEffect(() => {
setParams(serviceParams);
}, [serviceParams]);
const handleData = (data) => {
data.map((item) => {
item.title = item.deviceName;
......
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