Commit 6caa4b75 authored by wuhao's avatar wuhao 🎯

aserr

parent 470b8e5f
......@@ -236,6 +236,13 @@ const Deviceprovide = (props) => {
defaultFields[i].value = []
}
}
for (let i in extrafields) {
extrafields[i].value = null;
if (extrafields[i]["multiple"] == true) {
extrafields[i].value = []
}
}
dispatch({ type: "add", fields: { ...defaultFields, ...extrafields } })
}}>新增</Button>
]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment