From 439cdae99253dd186ab2d7dad0367b409ec9031a Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 22 二月 2022 13:35:19 +0800
Subject: [PATCH] 空算力处理
---
src/pages/vindicate/views/updateSettings.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/pages/vindicate/views/updateSettings.vue b/src/pages/vindicate/views/updateSettings.vue
index 4ec1f9b..0766e80 100644
--- a/src/pages/vindicate/views/updateSettings.vue
+++ b/src/pages/vindicate/views/updateSettings.vue
@@ -318,6 +318,13 @@
});
},
upgrade() {
+ if (!this.pkgID) {
+ this.$notify.error({
+ title: "澶辫触",
+ message: "璇峰厛涓婁紶鏇存柊鍖�",
+ });
+ return;
+ }
this.shengjiing = true;
upgradePkg({
id: this.pkgID,
@@ -374,7 +381,7 @@
value: item.val,
}).then((res) => {
if (res.code == 200) {
- this.$notify.success("鏇存柊鎴愬姛");
+ this.$notify.success("閰嶇疆鎴愬姛");
}
});
},
--
Gitblit v1.8.0