Ver código fonte

fix: 部门控件返回字符串

ZhaoJun 1 ano atrás
pai
commit
fe32a7e64c

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

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