From 4811b730b5e7fd10fd8ff24c868a296c11349697 Mon Sep 17 00:00:00 2001 From: Nelson-He Date: Mon, 4 Jul 2022 14:34:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=B7=BB=E5=8A=A0lock-session=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=B1=95=E7=A4=BA=E9=80=80=E5=87=BA?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/command/version.go | 2 +- static/js/app.js | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/pkg/command/version.go b/pkg/command/version.go index 46bc041..80b5826 100644 --- a/pkg/command/version.go +++ b/pkg/command/version.go @@ -2,7 +2,7 @@ package command const ( // Version is the current openGauss-webclient application version - Version = "1.0.0" + Version = "1.0.1" ) var ( diff --git a/static/js/app.js b/static/js/app.js index a8d892a..24e5a9f 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -1751,18 +1751,14 @@ function start() { if (resp.error) { connected = false; console.error("connection error: %s", resp.error); - //showConnectionSettings(); - //$(".connection-actions").show(); + $(".connection-actions").show(); } else { connected = true; loadSchemas(); $("#current_database").text(resp.current_database); $("#main").show(); - - if (!resp.session_lock) { - $(".connection-actions").show(); - } + $(".connection-actions").show(); } }); -- Gitee