zhangzengfei
2022-03-23 d8944c4764c3fc4b7baf6b5c1586cf17c88b0bb1
src/pages/vindicate/views/updateSettings.vue
@@ -194,7 +194,6 @@
<script>
import {
  getDevInfo,
  doUpgrade,
  checkNewVersion,
  upgradeNewVersion,
  uploadUpgradePkg,
@@ -319,6 +318,13 @@
        });
    },
    upgrade() {
      if (!this.pkgID) {
        this.$notify.error({
          title: "失败",
          message: "请先上传更新包",
        });
        return;
      }
      this.shengjiing = true;
      upgradePkg({
        id: this.pkgID,
@@ -375,7 +381,7 @@
        value: item.val,
      }).then((res) => {
        if (res.code == 200) {
          this.$notify.success("更新成功");
          this.$notify.success("配置成功");
        }
      });
    },
@@ -404,7 +410,6 @@
    flex-shrink: 0;
    padding: 9px 10px 0 10px;
    border-right: 4px solid rgb(242, 242, 247);
    .menu-item {
      height: 56px;
      margin-bottom: 4px;