diff --git a/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js b/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js index 3613ef770c8..564ed819034 100644 --- a/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js +++ b/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js @@ -735,7 +735,6 @@ class ConfigurationManagement extends React.Component { self.openLoading(); }, success(data) { - data = data.data; self.closeLoading(); if (!data || data.code !== 0 || !data.data) { Dialog.alert({ diff --git a/console-ui/src/utils/request.js b/console-ui/src/utils/request.js index e50383b30f6..ba31c409d46 100644 --- a/console-ui/src/utils/request.js +++ b/console-ui/src/utils/request.js @@ -74,7 +74,7 @@ const request = () => { // Message.error(resultMessage); // return Promise.reject(new Error(resultMessage)); // } - if (response.config && response.config.url === 'v1/console/server/state') { + if (response.config && response.config.url === 'v3/console/server/state') { const { auth_admin_request = '' } = response.data; if (auth_admin_request && auth_admin_request === 'true') { goRegister();