Closed voidsteed closed 3 years ago
在用AutoComplete组件的时候,onSelect的prop找不到:
Type '{ input: any; onSelect: (opts: any) => void; }' is not assignable to type 'IntrinsicAttributes & AutoCompleteProps & RefAttributes'. Property 'onSelect' does not exist on type 'IntrinsicAttributes & AutoCompleteProps & RefAttributes'
@voidsteed Upgrade @uiw/react-amap@1.8.3
@uiw/react-amap@1.8.3
谢谢!
在用AutoComplete组件的时候,onSelect的prop找不到:
Type '{ input: any; onSelect: (opts: any) => void; }' is not assignable to type 'IntrinsicAttributes & AutoCompleteProps & RefAttributes'.
Property 'onSelect' does not exist on type 'IntrinsicAttributes & AutoCompleteProps & RefAttributes'