refactor(ui): solve the problem that the focus style is incorrect

This commit is contained in:
robin 2022-12-16 18:03:13 +08:00
parent 13c472e141
commit df7d21e8ca
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ const Index: FC<Props> = ({ visible = false, data, callback }) => {
handleSubmit();
};
const handleFocusForTextArea = () => {
setForceType('answer');
setShowEditor(true);
};