提交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(",") });
|
||||
} else {
|
||||
if (getFile.qtzw) {
|
||||
if (getFile.qtzw && typeof getFile.qtzw == "string") {
|
||||
setValue({ ...getFile, qtzw: getFile.qtzw.split(",") });
|
||||
} else {
|
||||
setValue({ ...getFile, dzzw: [], qtzw: [] });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user