src/pages/vindicate/views/updateSettings.vue
@@ -118,6 +118,7 @@ v-show="!shengjiing && upStatus === ''" :http-request="uploadPkg" :limit="1" accept=".zip,.tar,.gz,.tar.gz" > <i class="el-icon-upload"></i> <div @@ -318,6 +319,13 @@ }); }, upgrade() { if (!this.pkgID) { this.$notify.error({ title: "失败", message: "请先上传更新包", }); return; } this.shengjiing = true; upgradePkg({ id: this.pkgID, @@ -374,7 +382,7 @@ value: item.val, }).then((res) => { if (res.code == 200) { this.$notify.success("更新成功"); this.$notify.success("配置成功"); } }); },