From eabede786184b634bb7fc0344262ae040732e03b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 05 二月 2023 22:27:05 +0800
Subject: [PATCH] 2023-02-05

---
 src/menu/stylecontroller/syscolorsketch/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/menu/stylecontroller/syscolorsketch/index.jsx b/src/menu/stylecontroller/syscolorsketch/index.jsx
index 20c35fc..e596a77 100644
--- a/src/menu/stylecontroller/syscolorsketch/index.jsx
+++ b/src/menu/stylecontroller/syscolorsketch/index.jsx
@@ -35,7 +35,7 @@
 
     return (
       <div className="sys-color-sketch-block">
-        {colors.map(color => <span onClick={() => this.handleChange(color)} style={ {background: color} }></span>)}
+        {colors.map(color => <span key={color} onClick={() => this.handleChange(color)} style={ {background: color} }></span>)}
       </div>
     )
   }

--
Gitblit v1.8.0