소스 검색

fix: 部门控件返回字符串

ZhaoJun 1 년 전
부모
커밋
fe32a7e64c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 (