react antd Select组件使用labelInValue报错:
Warning: value should in shape of { value: string | number, label?: ReactNode } when you set labelInValue to true.
解决:
修改value写法为value={{ value: currentSelectedKey, label: currentSelectedLabel }}
react antd Select组件使用labelInValue报错:
Warning: value should in shape of { value: string | number, label?: ReactNode } when you set labelInValue to true.
解决:
修改value写法为value={{ value: currentSelectedKey, label: currentSelectedLabel }}