Kaynağa Gözat

fix: 提交部门id而不是lable

ZhaoJun 1 yıl önce
ebeveyn
işleme
27e9a888ba

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

@@ -76,7 +76,7 @@ function DepartmentField(props) {
 
   const onChangeValue = (newValue, label) => {
     // const depName = findDepName(depTrees, newValue);
-    onChange(label);
+    onChange(String(newValue));
   };
 
   return (