Skip to content

Commit

Permalink
[ISSUE #12017] Fix console state bugs (#12804)
Browse files Browse the repository at this point in the history
* Fix config clone bug

* Fix state version bug
  • Loading branch information
RickonZhang0929 authored Oct 31, 2024
1 parent 7468080 commit c9cf4c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion console-ui/src/utils/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c9cf4c1

Please sign in to comment.