From 837b438510f39c007d9b8754567612b460ed8ce4 Mon Sep 17 00:00:00 2001 From: wanyiwei Date: Thu, 28 Jul 2022 21:30:37 +0800 Subject: [PATCH] =?UTF-8?q?*=E5=A4=A7=E5=B1=8F=E6=96=B0=E5=A2=9E=E5=B1=82?= =?UTF-8?q?=E7=BA=A7=E4=B8=AD=E6=9C=89null=E5=80=BC=E7=9A=84key=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/quanju/containers/footer/operation/left.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6d870d0e..175efc1e 100644 --- a/web/client/src/sections/quanju/containers/footer/operation/left.js +++ b/web/client/src/sections/quanju/containers/footer/operation/left.js @@ -91,7 +91,7 @@ const Left = (props) => { title: e.name, children: e.child.map(s => { return { - key: s.name, + key: s.name == '--' || s.name == null ? Math.ceil(Math.random() * 100) : s.name, title: s.name, children: s.child.map(i => { return {