fix compare api response 500 (issue#11384) (#11408)
This commit is contained in:
parent
e9ffb370b9
commit
1257217c10
@ -214,8 +214,8 @@ class HistoryRollback extends React.Component {
|
||||
goCompare(record) {
|
||||
let tenant = getParams('namespace') || '';
|
||||
let serverId = getParams('serverId') || 'center';
|
||||
this.getConfig(-1, tenant, serverId, this.dataId, this.group).then(lasted => {
|
||||
this.getHistoryConfig(record.id, this.dataId, this.group).then(selected => {
|
||||
this.getConfig(-1, tenant, serverId, record.dataId, record.group).then(lasted => {
|
||||
this.getHistoryConfig(record.id, record.dataId, record.group).then(selected => {
|
||||
this.diffEditorDialog.current.getInstance().openDialog(selected.content, lasted.content);
|
||||
});
|
||||
});
|
||||
|
@ -35,7 +35,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="console-ui/public/css/icon.css">
|
||||
<link rel="stylesheet" type="text/css" href="console-ui/public/css/font-awesome.css">
|
||||
<!-- 第三方css结束 -->
|
||||
<link href="./css/main.css?ee1639a1849b1f838f1a" rel="stylesheet"></head>
|
||||
<link href="./css/main.css?ab5ce0bcf1683a8e0760" rel="stylesheet"></head>
|
||||
|
||||
<body>
|
||||
<div id="root" style="overflow:hidden"></div>
|
||||
@ -56,6 +56,6 @@
|
||||
<script src="console-ui/public/js/merge.js"></script>
|
||||
<script src="console-ui/public/js/loader.js"></script>
|
||||
<!-- 第三方js结束 -->
|
||||
<script type="text/javascript" src="./js/main.js?ee1639a1849b1f838f1a"></script></body>
|
||||
<script type="text/javascript" src="./js/main.js?ab5ce0bcf1683a8e0760"></script></body>
|
||||
|
||||
</html>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user