diff --git a/web/client/src/sections/quanju/containers/footer/operation/left.js b/web/client/src/sections/quanju/containers/footer/operation/left.js index e4c5be32..92e69c9a 100644 --- a/web/client/src/sections/quanju/containers/footer/operation/left.js +++ b/web/client/src/sections/quanju/containers/footer/operation/left.js @@ -27,8 +27,8 @@ const Left = (props) => { const onChange = (e) => { const { value } = e.target; let keys = [] - const newExpandedKeys = treeDataList.filter(e=> e.key.match(value)) - newExpandedKeys.forEach(e=>{ + const newExpandedKeys = treeDataList.filter(e => e.key.match(value)) + newExpandedKeys.forEach(e => { keys.push(e.key) }) setExpandedKeys(keys); @@ -66,12 +66,12 @@ const Left = (props) => { key: e.name, title: e.name, }) - e.child.forEach(i=>{ + e.child.forEach(i => { dataList.push({ key: i.name, title: i.name, }) - i.child.forEach(s=>{ + i.child.forEach(s => { dataList.push({ key: s.vehicleLicensePlateNumber, title: s.vehicleLicensePlateNumber, @@ -103,18 +103,22 @@ const Left = (props) => { />