fix(测试用例): 修复测试用例关联接口入参错误bug
This commit is contained in:
parent
a19aa5ee2e
commit
f99ff9a304
|
@ -628,7 +628,7 @@
|
|||
];
|
||||
// 处理系统自定义字段
|
||||
searchCustomFields.value = result.map((item: any) => {
|
||||
const FilterTypeKey: keyof typeof FilterType = CustomTypeMaps[item.type].type;
|
||||
const FilterTypeKey: keyof typeof FilterType = CustomTypeMaps[item.type]?.type;
|
||||
const formType = FilterType[FilterTypeKey];
|
||||
const formObject = CustomTypeMaps[item.type];
|
||||
const { props: formProps } = formObject;
|
||||
|
@ -744,6 +744,7 @@
|
|||
moduleIds: [],
|
||||
version: '',
|
||||
};
|
||||
innerProject.value = '';
|
||||
activeFolder.value = 'all';
|
||||
activeFolderName.value = t('ms.case.associate.allCase');
|
||||
resetSelector();
|
||||
|
@ -754,6 +755,7 @@
|
|||
() => props.visible,
|
||||
(val) => {
|
||||
if (val) {
|
||||
caseType.value = props.currentSelectCase;
|
||||
resetFilterParams();
|
||||
resetSelector();
|
||||
if (!props.hideProjectSelect) {
|
||||
|
@ -786,10 +788,12 @@
|
|||
}
|
||||
|
||||
function selectedProtocolsChange() {
|
||||
if (innerProject.value) {
|
||||
initModules();
|
||||
setAllSelectModule();
|
||||
initFilter();
|
||||
}
|
||||
}
|
||||
// 改变项目
|
||||
function changeProject(
|
||||
value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]
|
||||
|
|
Loading…
Reference in New Issue