Explorar o código

fix: 部门控件返回字符串

ZhaoJun hai 1 ano
pai
achega
fe32a7e64c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 (