From d58264983b22512a834368aaf643d584daaa3695 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Fri, 1 Jul 2022 14:03:29 +0800 Subject: [PATCH] =?UTF-8?q?style(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E9=81=AE=E7=BD=A9=E5=B1=82=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/App.vue | 2 +- .../api/automation/api-automation.js | 2 +- .../components/notice/Notification.vue | 41 +++++---- .../business/components/settings/Setting.vue | 2 +- .../business/components/task/TaskCenter.vue | 83 +++++-------------- 5 files changed, 49 insertions(+), 81 deletions(-) diff --git a/frontend/src/business/App.vue b/frontend/src/business/App.vue index cca352b9cf..ac18e424ac 100644 --- a/frontend/src/business/App.vue +++ b/frontend/src/business/App.vue @@ -19,7 +19,7 @@ diff --git a/frontend/src/business/components/api/automation/api-automation.js b/frontend/src/business/components/api/automation/api-automation.js index 5c71ee2048..ee9d9af313 100644 --- a/frontend/src/business/components/api/automation/api-automation.js +++ b/frontend/src/business/components/api/automation/api-automation.js @@ -109,7 +109,7 @@ export function editApiScenarioCaseOrder(request, callback) { } export function savePreciseEnvProjectIds(projectIds, envMap) { - if (envMap != null && projectIds != null) { + if (envMap != null && projectIds != null && projectIds.length > 0) { let keys = envMap.keys(); for (let key of keys) { if (!projectIds.has(key)) { diff --git a/frontend/src/business/components/notice/Notification.vue b/frontend/src/business/components/notice/Notification.vue index df003a989f..008e4ed490 100644 --- a/frontend/src/business/components/notice/Notification.vue +++ b/frontend/src/business/components/notice/Notification.vue @@ -1,23 +1,18 @@