From 8c6bd65e44a9550fa532f171f8e589df6ee5551c Mon Sep 17 00:00:00 2001 From: dushixiang Date: Wed, 10 Mar 2021 19:03:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B3=BB=E7=BB=9F=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/setting/Setting.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/web/src/components/setting/Setting.js b/web/src/components/setting/Setting.js index 5b9aa23..ad55f8c 100644 --- a/web/src/components/setting/Setting.js +++ b/web/src/components/setting/Setting.js @@ -3,7 +3,6 @@ import {Button, Form, Input, Layout, PageHeader, Select, Switch, Tabs, Tooltip, import {itemRender} from '../../utils/utils' import request from "../../common/request"; import {message} from "antd/es"; -import LayoutHeader from "../user/LayoutHeader"; import {ExclamationCircleOutlined} from "@ant-design/icons"; const {Content} = Layout; @@ -41,7 +40,7 @@ class Setting extends Component { rdpSettingFormRef = React.createRef(); sshSettingFormRef = React.createRef(); vncSettingFormRef = React.createRef(); - otherSettingFormRef = React.createRef(); + guacdSettingFormRef = React.createRef(); mailSettingFormRef = React.createRef(); componentDidMount() { @@ -96,8 +95,8 @@ class Setting extends Component { this.vncSettingFormRef.current.setFieldsValue(properties) } - if (this.otherSettingFormRef.current) { - this.otherSettingFormRef.current.setFieldsValue(properties) + if (this.guacdSettingFormRef.current) { + this.guacdSettingFormRef.current.setFieldsValue(properties) } if (this.mailSettingFormRef.current) { @@ -475,9 +474,9 @@ class Setting extends Component { - + Guacd 服务配置 -
- Guacd 服务配置 + 邮箱配置