Commit 90aecfc8 authored by 涂茜's avatar 涂茜

fix: bug

parent f12e44b1
Pipeline #27444 failed with stages
in 15 seconds
......@@ -37,8 +37,6 @@ const DeviceTree = (props) => {
setParams(param);
}, []);
console.log(deviceTreeService, 'deviceTreeService');
const handleData = (data) => {
data.forEach((item) => {
item.title = item.deviceName;
......@@ -132,10 +130,7 @@ DeviceTree.propTypes = {
serviceParams: PropTypes.object,
onTreeCheck: PropTypes.func,
onTreeSelect: PropTypes.func,
deviceTreeService: PropTypes.shape({
then: PropTypes.func.isRequired,
catch: PropTypes.func.isRequired,
}),
deviceTreeService: PropTypes.any,
};
export default DeviceTree;
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