提交1
This commit is contained in:
parent
af9f34c3d2
commit
1acd09fb02
@ -130,7 +130,15 @@ const [register, { getValue, setValue }] = useForm({
|
||||
],
|
||||
});
|
||||
|
||||
setValue(getFile);
|
||||
if (getFile.dzzw) {
|
||||
setValue({ ...getFile, dzzw: getFile.dzzw.split(",") });
|
||||
} else {
|
||||
if (getFile.qtzw) {
|
||||
setValue({ ...getFile, qtzw: getFile.qtzw.split(",") });
|
||||
} else {
|
||||
setValue({ ...getFile, dzzw: [], qtzw: [] });
|
||||
}
|
||||
}
|
||||
|
||||
async function submit() {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user