Explorar el Código

修复一般的图标

pm hace 4 meses
padre
commit
388cf7a6b2
Se han modificado 2 ficheros con 7 adiciones y 5 borrados
  1. BIN
      src/assets/urgecy1.png
  2. 7 5
      src/components/IsolationWork.tsx

BIN
src/assets/urgecy1.png


+ 7 - 5
src/components/IsolationWork.tsx

@@ -3967,11 +3967,13 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
                     placeholder="请选择作业状态"
                 allowClear
                 className="w-32"
-                options={jobStatusDictList.map(item => ({
-                  label: item.label,
-                  value: item.value,
-                }))}
-                  />
+              >
+                {jobStatusDictList.map(item => (
+                  <Select.Option key={item.value} value={item.value}>
+                    {item.label}
+                  </Select.Option>
+                ))}
+              </Select>
                 </div>
               </div>
               <Space>