fix(工作台): 修复工作台用例归档跳转模块数量未更新bug
This commit is contained in:
parent
5edff221c2
commit
f5925a6ae0
|
@ -921,6 +921,8 @@
|
||||||
async function emitTableParams(isInit = false) {
|
async function emitTableParams(isInit = false) {
|
||||||
if (isAdvancedSearchMode.value) return;
|
if (isAdvancedSearchMode.value) return;
|
||||||
const tableParams = await initTableParams(isInit);
|
const tableParams = await initTableParams(isInit);
|
||||||
|
|
||||||
|
const filterParams = { ...NAV_NAVIGATION[route.query.home as WorkNavValueEnum] };
|
||||||
emit('init', {
|
emit('init', {
|
||||||
keyword: keyword.value,
|
keyword: keyword.value,
|
||||||
type: showType.value,
|
type: showType.value,
|
||||||
|
@ -928,7 +930,7 @@
|
||||||
moduleIds: tableParams.moduleIds,
|
moduleIds: tableParams.moduleIds,
|
||||||
current: propsRes.value.msPagination?.current,
|
current: propsRes.value.msPagination?.current,
|
||||||
pageSize: propsRes.value.msPagination?.pageSize,
|
pageSize: propsRes.value.msPagination?.pageSize,
|
||||||
filter: propsRes.value.filter,
|
filter: { ...filterParams, ...propsRes.value.filter },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue