Sfoglia il codice sorgente

fix: 部门控件返回字符串

ZhaoJun 1 anno fa
parent
commit
fe32a7e64c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/DDComponents/DepartmentField/index.js

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

@@ -29,7 +29,7 @@ function DepartmentField(props) {
   // };
 
   const onChangeValue = newValue => {
-    onChange(newValue);
+    onChange(`${newValue}`);
   };
 
   return (