From b74a260ae59e3d285dfbcda650dc11b50f8d723c Mon Sep 17 00:00:00 2001 From: goodenough Date: Sun, 14 Jan 2024 13:46:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A1=AB=E5=85=A5url=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=A1=AE=E8=AE=A4=E6=88=96=E5=8F=96=E6=B6=88=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E8=BE=93=E5=85=A5=E6=A1=86=E6=B2=A1=E6=9C=89=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E7=9A=84bug=20(#649)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/webapp/src/component/add-room-dialog/index.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/webapp/src/component/add-room-dialog/index.tsx b/src/webapp/src/component/add-room-dialog/index.tsx index c619c0f3..cd152957 100644 --- a/src/webapp/src/component/add-room-dialog/index.tsx +++ b/src/webapp/src/component/add-room-dialog/index.tsx @@ -37,6 +37,7 @@ class AddRoomDialog extends React.Component { this.setState({ visible: false, confirmLoading: false, + textView:'' }); this.props.refresh(); }) @@ -45,6 +46,7 @@ class AddRoomDialog extends React.Component { this.setState({ visible: false, confirmLoading: false, + textView:'' }); }) }; @@ -52,6 +54,7 @@ class AddRoomDialog extends React.Component { handleCancel = () => { this.setState({ visible: false, + textView:'' }); }; @@ -62,7 +65,7 @@ class AddRoomDialog extends React.Component { } render() { - const { visible, confirmLoading, ModalText } = this.state; + const { visible, confirmLoading, ModalText,textView } = this.state; return (
{ confirmLoading={confirmLoading} onCancel={this.handleCancel}>

{ModalText}

- +
);