From b148d4b5034d7dd1d0be0f542b227529571c6c28 Mon Sep 17 00:00:00 2001 From: brothelul <1285823170@qq.com> Date: Tue, 27 Apr 2021 14:07:12 +0800 Subject: [PATCH] fix the press F1 to full screen issue (#5505) --- .../DistributedDatabaseOperateImpl.java | 2 +- .../DiffEditorDialog/DiffEditorDialog.js | 1 - .../ConfigDetail/ConfigDetail.js | 22 +++++++++++++++++-- .../ConfigDetail/index.scss | 13 +++++++++++ .../ConfigEditor/NewConfigEditor.js | 21 +++++++++++++++++- .../ConfigEditor/index.scss | 12 ++++++++++ .../src/main/resources/static/css/main.css | 6 ++--- console/src/main/resources/static/js/main.js | 20 ++++++++--------- 8 files changed, 79 insertions(+), 18 deletions(-) diff --git a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/embedded/DistributedDatabaseOperateImpl.java b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/embedded/DistributedDatabaseOperateImpl.java index e31f1e400..8e3b74e66 100644 --- a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/embedded/DistributedDatabaseOperateImpl.java +++ b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/embedded/DistributedDatabaseOperateImpl.java @@ -406,7 +406,7 @@ public class DistributedDatabaseOperateImpl extends RequestProcessor4CP implemen } return RestResultUtils.success(); } catch (Throwable ex) { - LogUtil.DEFAULT_LOG.error("data import has error : {}", ex); + LogUtil.DEFAULT_LOG.error("data import has error :", ex); return RestResultUtils.failed(ex.getMessage()); } }); diff --git a/console-ui/src/components/DiffEditorDialog/DiffEditorDialog.js b/console-ui/src/components/DiffEditorDialog/DiffEditorDialog.js index 8d8c617b4..24fd3f207 100644 --- a/console-ui/src/components/DiffEditorDialog/DiffEditorDialog.js +++ b/console-ui/src/components/DiffEditorDialog/DiffEditorDialog.js @@ -102,7 +102,6 @@ class DiffEditorDialog extends React.Component { )} ); - console.log(footer); return (