fix: 修复 Antd 和 React 废弃 API 警告
- AutoComplete/Select: dropdownStyle -> styles.popup.root - AutoComplete/Select: popupClassName -> classNames.popup.root - 移除 WebkitBackdropFilter(Chakra backdropFilter 自动处理) - Table rowKey: 使用唯一标识符替代 index 参数 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -85,14 +85,14 @@ const SearchBox = memo<{
|
||||
return (
|
||||
<Box sx={SEARCH_BOX_SX}>
|
||||
<AutoComplete
|
||||
popupClassName="fui-autocomplete-dropdown"
|
||||
classNames={{ popup: { root: 'fui-autocomplete-dropdown' } }}
|
||||
styles={{ popup: { root: DROPDOWN_STYLE } }}
|
||||
value={inputCode}
|
||||
options={stockOptions}
|
||||
onSearch={doSearch}
|
||||
onSelect={handleSelect}
|
||||
onChange={setInputCode}
|
||||
style={AUTOCOMPLETE_STYLE}
|
||||
dropdownStyle={DROPDOWN_STYLE}
|
||||
notFoundContent={isSearching ? <Spin size="small" /> : null}
|
||||
>
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user