From 0623b207704519577ea8442b307bf0785cd76143 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 24 Jul 2023 11:35:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E9=A2=84=E8=A7=88=E5=8F=AF?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=8C=BA=E5=9F=9F=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1028062 --user=白奇 【测试跟踪】github#25735,功能用例预览可显示区域小 https://www.tapd.cn/55049933/s/1396400 --- .../case/components/TestCasePreview.vue | 85 ++++++++++++------- 1 file changed, 52 insertions(+), 33 deletions(-) diff --git a/test-track/frontend/src/business/case/components/TestCasePreview.vue b/test-track/frontend/src/business/case/components/TestCasePreview.vue index b9dafd9843..403539f02a 100644 --- a/test-track/frontend/src/business/case/components/TestCasePreview.vue +++ b/test-track/frontend/src/business/case/components/TestCasePreview.vue @@ -7,41 +7,58 @@ class="case-desc-drawer-layout" > -
+
-
-

{{$t('test_track.case.prerequisite')}}

+

{{ $t("test_track.case.prerequisite") }}

- {{$t('case.none')}} - + {{ $t("case.none") }} +
- +
-

{{$t('test_track.case.step_desc')}}

+

{{ $t("test_track.case.step_desc") }}

- {{$t('case.none')}} - + {{ $t("case.none") }} +
-

{{$t('test_track.case.expected_results')}}

+

{{ $t("test_track.case.expected_results") }}

- {{$t('case.none')}} - + {{ $t("case.none") }} +
-
-
- +
+
+
@@ -63,7 +80,7 @@ export default { MsCaseDescTextItem, StepChangeItem, TestCaseStepItem, - MsMarkDownText + MsMarkDownText, }, props: { width: { @@ -88,8 +105,8 @@ export default { formLabelWidth: "100px", stepForLabelWidth: "150px", visible: false, - data: {} - } + data: {}, + }; }, methods: { open() { @@ -100,19 +117,19 @@ export default { }, setData(data) { this.data = data; - } - } -} + }, + }, +};