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>)[]
|
value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]
|
||||||
) {
|
) {
|
||||||
caseType.value = value as keyof typeof CaseLinkEnum;
|
caseType.value = value as keyof typeof CaseLinkEnum;
|
||||||
emit('update:currentSelectCase', caseType.value);
|
|
||||||
initModules();
|
initModules();
|
||||||
searchCase();
|
searchCase();
|
||||||
}
|
}
|
||||||
|
@ -716,6 +715,15 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
watch(
|
||||||
|
() => props.currentSelectCase,
|
||||||
|
() => {
|
||||||
|
initModules();
|
||||||
|
searchCase();
|
||||||
|
initFilter();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
initModules,
|
initModules,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue