mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
bound callback
This commit is contained in:
parent
d177fab6e3
commit
67df71d1ca
@ -207,6 +207,7 @@ class AIChat extends React.Component<{}, {}> {
|
||||
}
|
||||
|
||||
// Adjust the height of the textarea to fit the text
|
||||
@boundMethod
|
||||
onTextAreaChange(e: any) {
|
||||
// Calculate the bounding height of the text area
|
||||
const textAreaMaxLines = 4;
|
||||
|
Loading…
Reference in New Issue
Block a user