Commit d6fd4184 authored by linweijiong's avatar linweijiong

Merge branch 'jinfa-20221102' into 'jinfa-20221102'

fix:勾选合同项需要传left=0 See merge request project/jinfa-platform!529
parents cd837c6a 75be9c0c
......@@ -70,7 +70,7 @@ const Index = () => {
const handleSubmit = (values) => {
const obj = { ...values }
for (const key in obj) {
if (isEmpty(obj[key])&& (typeof obj[key] !='number') ) {
if (isEmpty(obj[key])&& (typeof obj[key] !='number')&& (typeof obj[key] !='boolean') ) {
delete obj[key]
}
if (moment.isMoment(obj[key])) {
......
......@@ -53,7 +53,7 @@ const Index = () => {
const handleSubmit = (values) => {
const obj = { ...values }
for (const key in obj) {
if (isEmpty(obj[key])&& (typeof obj[key] !='number') ) {
if (isEmpty(obj[key])&& (typeof obj[key] !='number')&& (typeof obj[key] !='boolean') ) {
delete obj[key]
}
if (moment.isMoment(obj[key])) {
......
......@@ -52,7 +52,7 @@ const Index = () => {
const handleSubmit = (values) => {
const obj = { ...values }
for (const key in obj) {
if (isEmpty(obj[key])&& (typeof obj[key] !='number') ) {
if (isEmpty(obj[key])&& (typeof obj[key] !='number')&& (typeof obj[key] !='boolean') ) {
delete obj[key]
}
if (moment.isMoment(obj[key])) {
......
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