fix(接口定义): 修复接口定义高级搜索可以删除全部条件的缺陷 (#16088)

--bug=1015129 --user=王孝刚 【接口测试】各页面的高级搜索-筛选条件-只剩一个时-不可删除
https://www.tapd.cn/55049933/s/1206401
--bug=1015128 --user=王孝刚
【UI测试】场景列表/场景导入/测试报告页面的高级搜索-筛选条件只剩一个时不可删除
https://www.tapd.cn/55049933/s/1206467

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-07-21 16:43:05 +08:00 committed by GitHub
parent d28a3a4433
commit 146caffcf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@
@updateKey="changeSearchItemKey" :custom="condition.custom"/>
</el-col>
<el-col :span="2">
<i class="el-icon-close delete-icon" @click="remove(component)"></i>
<i class="el-icon-close delete-icon" @click="remove(component)"
v-if="optional.components.length !==1"></i>
</el-col>
</el-row>
</div>