Browse Source

*大屏新增层级中有null值的key判断

release_0.0.4
wanyiwei 2 years ago
parent
commit
837b438510
  1. 2
      web/client/src/sections/quanju/containers/footer/operation/left.js

2
web/client/src/sections/quanju/containers/footer/operation/left.js

@ -91,7 +91,7 @@ const Left = (props) => {
title: e.name, title: e.name,
children: e.child.map(s => { children: e.child.map(s => {
return { return {
key: s.name, key: s.name == '--' || s.name == null ? Math.ceil(Math.random() * 100) : s.name,
title: s.name, title: s.name,
children: s.child.map(i => { children: s.child.map(i => {
return { return {

Loading…
Cancel
Save