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 服务配置 + 邮箱配置