This commit is contained in:
Net 2025-06-15 11:26:51 +08:00
parent 1acd09fb02
commit 3cd9db481d

View File

@ -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: [] });