Commit 1e5cace7 authored by shenshaokai's avatar shenshaokai

Merge branch '1102' into 'jinfa-20221102'

fix: 数组判断 See merge request project/jinfa-admin!23
parents 55cb0584 a8678866
......@@ -80,7 +80,7 @@ const AddInvoiceProcessEng: React.FC<{}> = () => {
history.goBack()
})
} else {
const members = typeof values?.members === 'boolean' ? [] : values?.members
const members = Array.isArray(values?.members) ? values?.members : []
const params = {
...values,
allMembers: values.allMembers,
......
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