fix:下拉框focus报错

This commit is contained in:
lvxiaojiao 2024-08-20 15:00:10 +08:00
parent e4cf76f092
commit 622e176da1

View File

@ -229,7 +229,7 @@ export default class SelectControl extends React.Component<SelectProps, any> {
}
focus() {
this.input && this.input.focus();
this.input && this.input?.focus();
}
getValue(