fix(接口测试): 导入时选中模块不存在回显
--bug=1046573 --user=白奇 【接口测试】导入swagger接口-选中模块被删除-所属模块展示为id https://www.tapd.cn/55049933/s/1579890
This commit is contained in:
parent
0ce134537d
commit
3b9bce189a
|
@ -44,6 +44,11 @@
|
|||
allow-search
|
||||
allow-clear
|
||||
:filter-tree-node="filterTreeNode"
|
||||
:fallback-option="(key: string | number) => ({
|
||||
name: t('apiTestManagement.moduleNotExist'),
|
||||
key,
|
||||
disabled: true,
|
||||
})"
|
||||
>
|
||||
<template #tree-slot-title="node">
|
||||
<a-tooltip :content="`${node.name}`" position="tl">
|
||||
|
@ -261,6 +266,11 @@
|
|||
:field-names="{ title: 'name', key: 'id', children: 'children' }"
|
||||
allow-search
|
||||
:filter-tree-node="filterTreeNode"
|
||||
:fallback-option="(key: string | number) => ({
|
||||
name: t('apiTestManagement.moduleNotExist'),
|
||||
key,
|
||||
disabled: true,
|
||||
})"
|
||||
>
|
||||
<template #tree-slot-title="node">
|
||||
<a-tooltip :content="`${node.name}`" position="tl">
|
||||
|
|
|
@ -173,6 +173,7 @@ export default {
|
|||
'apiTestManagement.protocolIsEmpty': 'The protocol is empty',
|
||||
'apiTestManagement.protocolEmptyTip': 'List display data is empty, please select protocol',
|
||||
'apiTestManagement.exportSwaggerTip': 'Swagger format only supports exporting HTTP protocol requests',
|
||||
'apiTestManagement.moduleNotExist': 'Module does not exist',
|
||||
'case.execute.selectEnv': 'Select Environment',
|
||||
'case.execute.defaultEnv': 'Default Environment',
|
||||
'case.execute.newEnv': 'New Environment',
|
||||
|
|
|
@ -166,6 +166,7 @@ export default {
|
|||
'apiTestManagement.protocolIsEmpty': '接口协议为空',
|
||||
'apiTestManagement.protocolEmptyTip': '列表展示数据为空,请选择协议',
|
||||
'apiTestManagement.exportSwaggerTip': 'Swagger格式仅支持导出HTTP协议的请求',
|
||||
'apiTestManagement.moduleNotExist': '模块不存在',
|
||||
'case.execute.selectEnv': '环境选择',
|
||||
'case.execute.defaultEnv': '默认环境',
|
||||
'case.execute.newEnv': '新环境',
|
||||
|
|
|
@ -450,7 +450,6 @@
|
|||
background-color: var(--color-text-n9);
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.arco-select-view-multiple.arco-select-view-size-medium .arco-select-view-tag) {
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
|
|
Loading…
Reference in New Issue