The option of select cannot be rendered by callback.

use list as the option data source for Select, but use callback, which cannot be rendered. Just call it directly, as shown in the figure below. The first method is fine, and the second is not. Because there are many Select, on a page, you need to use the second one. Both methods can successfully enter init, the second kind of this.setState ({list:data}) can also take effect, but Option can"t get out.

Feb.26,2021

1. Why don't you call init, directly in handleSearch and pass in
2. Generally speaking, the first parameter of bind is the passed this


<Table optionFilterProp="children"/>
.
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-1b162a7-2b011.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-1b162a7-2b011.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?