Ask for help on a question about React

ask for a question about react

the company"s client software tries to use react refactoring, but in a filter select drop-down box, there need to be two default values when initializing the page, which I deal with in componentWillMount. However, once the drop-down item changes, the default value has no filtering effect. I tried to bind the default state array into selected, but it still has no effect. Is there any better way?

Mar.25,2021
The value of

select can be replaced by state. When loading, setState just put the data obtained by the API into it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea9e11-1f94.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea9e11-1f94.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?