From 7af597095cb0cc3af146d4ece588dc8e9a1c9677 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 27 Jul 2022 10:46:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E5=B7=A5=E4=BD=9C=E5=8F=B0=E4=BF=9D=E5=AD=98=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=8F=90=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --- .../components/project/menu/appmanage/AppManage.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/project/menu/appmanage/AppManage.vue b/frontend/src/business/components/project/menu/appmanage/AppManage.vue index fed0a26ac3..291ea28288 100644 --- a/frontend/src/business/components/project/menu/appmanage/AppManage.vue +++ b/frontend/src/business/components/project/menu/appmanage/AppManage.vue @@ -452,10 +452,14 @@ export default { let configs = []; if (this.config.openUpdateTime) { if (!this.pastQuantity) { - this.$message.error("请选择时间") + this.$message.error("请选择时间"); + this.config.openUpdateTime = false; + return } if (!this.pastUnit) { - this.$message.error("请选择时间单位") + this.$message.error("请选择时间单位"); + this.config.openUpdateTime = false; + return } this.config.openUpdateRuleTime = this.pastQuantity + this.pastUnit; configs.push({