Преглед изворни кода

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 (