fix(用例管理): 切换关联接口或场景用例,列表&模块不刷新问题
This commit is contained in:
parent
ef9dfd62fd
commit
449d7610d1
|
@ -677,7 +677,6 @@
|
|||
value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]
|
||||
) {
|
||||
caseType.value = value as keyof typeof CaseLinkEnum;
|
||||
emit('update:currentSelectCase', caseType.value);
|
||||
initModules();
|
||||
searchCase();
|
||||
}
|
||||
|
@ -716,6 +715,15 @@
|
|||
}
|
||||
);
|
||||
|
||||
watch(
|
||||
() => props.currentSelectCase,
|
||||
() => {
|
||||
initModules();
|
||||
searchCase();
|
||||
initFilter();
|
||||
}
|
||||
);
|
||||
|
||||
defineExpose({
|
||||
initModules,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue