diff --git a/hg-monitor-web-base/src/main/resources/static/src/index.js b/hg-monitor-web-base/src/main/resources/static/src/index.js index 2857d45..e98a495 100644 --- a/hg-monitor-web-base/src/main/resources/static/src/index.js +++ b/hg-monitor-web-base/src/main/resources/static/src/index.js @@ -551,7 +551,7 @@ layui.extend({ toastType: toastType, type: 'click', action: function () { - if (hash && hash != '' && hash != null) { + if (hash && hash != '' && hash != null && hash != 'null') { if (hash.toLowerCase().indexOf("http://") != -1 && hash.toLowerCase().indexOf("https://") != -1) { location.hash = hash; } else {