From 79f521ce63909fff82de9f624911d6c63e84fb53 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 23 三月 2022 21:08:45 +0800 Subject: [PATCH] 修复时间规则新增后视图未动态更新的bug --- src/pages/vindicate/views/updateSettings.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/pages/vindicate/views/updateSettings.vue b/src/pages/vindicate/views/updateSettings.vue index dec75d5..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, -- Gitblit v1.8.0