From a073ced6a9d9aaa2a646c740afa1e675a9e98fd8 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 16 Feb 2023 15:09:30 +0800 Subject: [PATCH 1/2] fix received boolean attribute for input placeholder --- src/routes/System/Resource/AddModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/System/Resource/AddModal.js b/src/routes/System/Resource/AddModal.js index 3f1346e23..7c81c59d0 100644 --- a/src/routes/System/Resource/AddModal.js +++ b/src/routes/System/Resource/AddModal.js @@ -178,7 +178,7 @@ class AddModal extends Component { })( } suffix={ From b1070e137a18f851e6ab8a6b581bb61aea5391c6 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 16 Feb 2023 15:14:26 +0800 Subject: [PATCH 2/2] fix each child in list should have key in iconModal --- src/routes/System/Resource/IconModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/System/Resource/IconModal.js b/src/routes/System/Resource/IconModal.js index ef5de3a89..2d75a797e 100644 --- a/src/routes/System/Resource/IconModal.js +++ b/src/routes/System/Resource/IconModal.js @@ -451,9 +451,9 @@ export default class IconModal extends Component { /> { - Object.keys(iconMap).map(groupName=>{ + Object.keys(iconMap).map((groupName, index)=>{ return ( - +

{getIntlContent(groupName) || groupName}

{iconMap[groupName].map(icon => {