From 094ca0b791c2114c680b878366b216bd7e6f4a05 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 14 Mar 2023 15:35:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=AD=A5=E9=AA=A4=E7=B1=BB=E5=9E=8B=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024228 --user=陈建星 【测试跟踪】用例列表-用例描述,点击步骤类型切换失败 https://www.tapd.cn/55049933/s/1349511 --- .../frontend/src/components/new-ui/MsCaseDescTextItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/components/new-ui/MsCaseDescTextItem.vue b/framework/sdk-parent/frontend/src/components/new-ui/MsCaseDescTextItem.vue index 29aa1642b9..4339479644 100644 --- a/framework/sdk-parent/frontend/src/components/new-ui/MsCaseDescTextItem.vue +++ b/framework/sdk-parent/frontend/src/components/new-ui/MsCaseDescTextItem.vue @@ -22,7 +22,7 @@ export default { }, methods: { filterText(val) { - if (val.trim() === '' || val.trim().length === 0) { + if (!val || !val.trim()) { return this.$t('case.none'); } else { return val;