My code looks strange and incorrect.<br>For example, I set the state according to the code, but when I run handleFilter for the first time, the output is<br>docfilterclicked = false<br>docfilterby = status<br>Doc filter img = doc filter<br>Press the second time to run handlefilter.<br>docfilterclicked = true<br>docfilterby = status<br>docfilter img = docfilter 0<br>Press the third time to run handlefilter.<br>docfilterclicked = false<br>docfilterby = ' all '<br>Doc filter img = doc filter<br>Press the fourth operation manual filter.<br>docfilterclicked = true<br>docfilterby = status<br>docfilter img = docfilter 0<br>This doesn't meet my requirements. Can you check the code?
การแปล กรุณารอสักครู่..