fix(测试跟踪): 用例步骤类型切换失败

--bug=1024228 --user=陈建星 【测试跟踪】用例列表-用例描述,点击步骤类型切换失败 https://www.tapd.cn/55049933/s/1349511
This commit is contained in:
chenjianxing 2023-03-14 15:35:04 +08:00 committed by 刘瑞斌
parent 5a5828e108
commit 094ca0b791
1 changed files with 1 additions and 1 deletions

View File

@ -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;