React JS: adding key and value to a const

后端 未结 0 1094
南旧
南旧 2021-02-19 02:32

I\'m trying to update my "payload" object adding a key and value (codigoCompra: tmpCodigo), my code is this:

const onSubmit = (values) => {
console.l         


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