Преглед на файлове

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 (