mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix:下拉框focus报错
This commit is contained in:
parent
e4cf76f092
commit
622e176da1
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user