From 58bf48cea61c6c5b4381a4b8ff5b4a39eb4671eb Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期五, 10 六月 2022 09:36:03 +0800 Subject: [PATCH] 国标摄像机信息接口 --- src/pages/vindicate/views/updateSettings.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/pages/vindicate/views/updateSettings.vue b/src/pages/vindicate/views/updateSettings.vue index 26c58a2..0766e80 100644 --- a/src/pages/vindicate/views/updateSettings.vue +++ b/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; -- Gitblit v1.8.0