南昌市物联网技防平台-前端
zengh
2021-03-24 2c4d726e2f3af93a36d1685a9afdfd2c62a9f544
src/page/index/top/index.vue
@@ -19,7 +19,7 @@
      </span>
    </div>
    <div class="top-bar__right">
      <img src="/img/ydlg.png" style="height: 44px; vertical-align: middle;" alt="">
      <el-tooltip v-if="showColor"
                  effect="dark"
@@ -170,6 +170,10 @@
          cancelButtonText: this.$t("cancelText"),
          type: "warning"
        }).then(() => {
          //关闭webSocket
          window.socket.close();
          this.$store.dispatch("LogOut").then(() => {
            resetRouter();
            this.$router.push({path: "/login"});