提交1
This commit is contained in:
parent
1acd09fb02
commit
3cd9db481d
@ -130,10 +130,10 @@ const [register, { getValue, setValue }] = useForm({
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
if (getFile.dzzw) {
|
if (getFile.dzzw && typeof getFile.dzzw == "string") {
|
||||||
setValue({ ...getFile, dzzw: getFile.dzzw.split(",") });
|
setValue({ ...getFile, dzzw: getFile.dzzw.split(",") });
|
||||||
} else {
|
} else {
|
||||||
if (getFile.qtzw) {
|
if (getFile.qtzw && typeof getFile.qtzw == "string") {
|
||||||
setValue({ ...getFile, qtzw: getFile.qtzw.split(",") });
|
setValue({ ...getFile, qtzw: getFile.qtzw.split(",") });
|
||||||
} else {
|
} else {
|
||||||
setValue({ ...getFile, dzzw: [], qtzw: [] });
|
setValue({ ...getFile, dzzw: [], qtzw: [] });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user