mirror of https://gitee.com/answerdev/answer.git
refactor(ui): solve the problem that the focus style is incorrect
This commit is contained in:
parent
13c472e141
commit
df7d21e8ca
|
@ -82,6 +82,7 @@ const Index: FC<Props> = ({ visible = false, data, callback }) => {
|
||||||
handleSubmit();
|
handleSubmit();
|
||||||
};
|
};
|
||||||
const handleFocusForTextArea = () => {
|
const handleFocusForTextArea = () => {
|
||||||
|
setForceType('answer');
|
||||||
setShowEditor(true);
|
setShowEditor(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue