From ab13017117b18427bb5ee687c9a1b3fd5a94f2ae Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期二, 20 四月 2021 17:20:01 +0800
Subject: [PATCH] 处理空指针

---
 web_src/src/components/UiHeader.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web_src/src/components/UiHeader.vue b/web_src/src/components/UiHeader.vue
index e537953..af59f6f 100644
--- a/web_src/src/components/UiHeader.vue
+++ b/web_src/src/components/UiHeader.vue
@@ -59,8 +59,8 @@
         sseControl() {
             let that = this;
             if (this.alarmNotify) {
-                console.log("鐢宠SSE鎺ㄩ�丄PI璋冪敤锛屾祻瑙堝櫒ID: " + this.$browserId);
-                this.sseSource = new EventSource('/api/emit?browserId=' + this.$browserId);
+              console.log("鐢宠SSE鎺ㄩ�丄PI璋冪敤锛屾祻瑙堝櫒ID: " + this.$browserId);
+              this.sseSource = new EventSource('/api/emit?browserId=' + this.$browserId);
         	    this.sseSource.addEventListener('message', function(evt) {
                     that.$notify({
                         title: '鏀跺埌鎶ヨ淇℃伅',

--
Gitblit v1.8.0