ZZJ
2021-09-27 8b31ebab2fd3bb4397f4966767a1ed7ddef3ff2c
src/pages/desktop/index/components/Tools.vue
@@ -53,7 +53,7 @@
      <div class="tools-icon no-hover-style">
        <img
          class="smart-ai"
          :src="`${publicPath}images/desktop/header-icon/SmartAI.png`"
          :src="`${publicPath}images/desktop/header-icon/SmartAI-新.png`"
          alt
        />
      </div>
@@ -350,6 +350,8 @@
    });
    this.askSysUpdate();
    this.askAppUpdate();
  },
  methods: {
    askAppUpdate() {
@@ -375,7 +377,7 @@
    },
    goToUpdate() {
      this.showAppRemind = false;
      window.parent.postMessage({ msg: `toAI?activeName=update` }, "*");
      window.parent.postMessage({ msg: `toAI?activeName=更新` }, "*");
    },
    goToWireSet() {
      window.parent.postMessage(
@@ -388,19 +390,6 @@
        { msg: `toVindicate?autoUpdate=1` },
        "*"
      );
      // this.upgrading = true;
      // upgradeNewVersion()
      //   .then((res) => {
      //     if (res.code == 200) {
      //       this.upgrading = true;
      //       this.$notify.success("更新版本成功");
      //       this.showSysRemind = false;
      //     }
      //   })
      //   .catch((err) => {
      //     this.$notify.error("更新版本失败");
      //   });
    },
    delaySysRemind(sec) {
      delayUpgradeNotice({
@@ -572,7 +561,7 @@
  margin: auto;
}
.tools .tools-left {
  width: 200px;
  width: 275px;
  height: 100%;
  float: left;
  margin-left: 14px;
@@ -852,6 +841,11 @@
  height: 100%;
  margin-right: 14px;
}
.smart-ai {
  height: 65%;
}
.el-dropdown-menu {
  top: 40px !important;
}