formik image upload issue form is not submitting when no image is uploaded

前端 未结 0 678
南旧
南旧 2020-12-29 00:30

index.js

const handleSubmit = async (value) => {
    const formData = new FormData()
    for (const file of image.product_img) {
        formData.append(\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题