From 988615337e6ed5ba2acb3ab19ed0123c3bdd919d Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 4 Jan 2023 15:58:42 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9mqtt=E6=8F=92=E4=BB=B6=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/PluginContentAssertions.vue | 39 +++++++------------ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/api-test/frontend/src/business/automation/scenario/component/PluginContentAssertions.vue b/api-test/frontend/src/business/automation/scenario/component/PluginContentAssertions.vue index 25f65f1cd2..e187dbb77c 100644 --- a/api-test/frontend/src/business/automation/scenario/component/PluginContentAssertions.vue +++ b/api-test/frontend/src/business/automation/scenario/component/PluginContentAssertions.vue @@ -44,7 +44,7 @@
- + - - - @@ -79,9 +76,9 @@ size="small" show-word-limit :placeholder="$t('api_test.request.assertions.value')" - width="500px" /> + /> - +
- + - - - @@ -125,12 +119,12 @@ show-word-limit :placeholder="$t('api_test.request.extract.json_path_expression')" /> - + @@ -146,7 +140,7 @@ size="small" show-word-limit :placeholder="$t('api_test.request.assertions.expect')" - style="width: 50%" /> + />
{{ $t('api_test.request.assertions.regex_info') }} @@ -154,7 +148,7 @@ - +
- + - - - @@ -197,7 +188,7 @@ show-word-limit :placeholder="$t('api_test.request.extract.xpath_expression')" /> - + .ms-assertion-item { width: 100%; - height: 32px; } .ms-top-line-box { @@ -370,6 +360,11 @@ export default { margin-top: 10px; } +.assertion-item-row { + display: flex; + align-items: center; +} + :deep(.ms-assertion-select) { width: 140px; } @@ -377,8 +372,4 @@ export default { .enable-switch { margin-right: 10px; } - -.assertion-btn { - width: 60px; -}