Handle nested object useState with multiple checkboxes React hooks

后端 未结 0 631
夕颜
夕颜 2020-12-23 06:21

I\'ve got useState object like this

export const dataService = () => {
const [data,setData] = useState([
{
dataName:\'name1\',
dataVisible:false,
dataUrl:\         


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