mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
observable fix
This commit is contained in:
parent
8aaea9f1c8
commit
de271d3873
14710
package-lock.json
generated
Normal file
14710
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -160,6 +160,11 @@ class AIChat extends React.Component<{}, {}> {
|
||||
textAreaRef: React.RefObject<HTMLTextAreaElement> = React.createRef();
|
||||
termFontSize: number = 14;
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
mobx.makeObservable(this);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
const inputModel = GlobalModel.inputModel;
|
||||
if (this.textAreaRef.current != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user