diff --git a/src/view/home/ServerConfigParams.jsx b/src/view/home/ServerConfigParams.jsx index ea192ce0cf0c5ff23192de80d7d56af29a90db48..89d3a650f1479cbcc2cc56c77191efb44b24894c 100644 --- a/src/view/home/ServerConfigParams.jsx +++ b/src/view/home/ServerConfigParams.jsx @@ -18,7 +18,8 @@ export default class ServerConfigParams extends React.Component { } loadServerConfigParams = () => { - findServerConfigParams().then(res => { + findServerConfigParams().then(r => { + let res = r.data; if (res.code == 0) { this.setState({ serverConfigParams: res.data[0]