From c705455de1ba2170b57b30ad42f410c71049220b Mon Sep 17 00:00:00 2001 From: dongrui Date: Thu, 20 Dec 2018 10:19:57 +0800 Subject: [PATCH] fix: Modify code format by IDE --- src/stores/testing_env/create.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/stores/testing_env/create.js b/src/stores/testing_env/create.js index 272bdc83..bd90a064 100644 --- a/src/stores/testing_env/create.js +++ b/src/stores/testing_env/create.js @@ -163,10 +163,8 @@ export default class CreateEnvStore extends Store { } } else { if (isHelm(platform)) { - } else { - if (!selectZone) { - return this.error('Please select runtime zone'); - } + } else if (!selectZone) { + return this.error('Please select runtime zone'); } if (!name) {