Parcourir la source

Merge branch 'master' into develop
合并master修改
# Conflicts:
# src/components/DDComponents/ProjectField/index.js

Renxy il y a 2 ans
Parent
commit
cc297e585b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/DDComponents/ProjectField/index.js

+ 1 - 1
src/components/DDComponents/ProjectField/index.js

@@ -22,7 +22,7 @@ function DDProjectField(props) {
         onChange(String(value));
       }}
       filterOption={(input, option) =>
-        option.children.join('').toLowerCase().includes(input.toLowerCase())
+        (option?.label ?? '').toLowerCase().includes(input.toLowerCase())
       }
       options={projectList.map((item) => {
         return {