fix(测试计划): 测试计划详情-用例详情-修复左侧列表参数有问题的缺陷
--bug=1044144 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001044144
This commit is contained in:
parent
5e2ef1d10a
commit
8fd06968bb
|
@ -313,7 +313,6 @@
|
|||
try {
|
||||
caseListLoading.value = true;
|
||||
const res = await getPlanDetailFeatureCaseList({
|
||||
projectId: appStore.currentProjectId,
|
||||
testPlanId: route.query.id as string,
|
||||
keyword: keyword.value,
|
||||
current: pageNation.value.current || 1,
|
||||
|
@ -557,7 +556,17 @@
|
|||
onBeforeMount(async () => {
|
||||
const lastPageParams = window.history.state.params ? JSON.parse(window.history.state.params) : null; // 获取上个页面带过来的表格查询参数
|
||||
if (lastPageParams) {
|
||||
const { total, pageSize, current, keyword: _keyword, sort, moduleIds } = lastPageParams;
|
||||
const {
|
||||
total,
|
||||
pageSize,
|
||||
current,
|
||||
keyword: _keyword,
|
||||
sort,
|
||||
moduleIds,
|
||||
collectionId,
|
||||
treeType,
|
||||
projectId,
|
||||
} = lastPageParams;
|
||||
pageNation.value = {
|
||||
total: total || 0,
|
||||
pageSize,
|
||||
|
@ -567,6 +576,9 @@
|
|||
otherListQueryParams.value = {
|
||||
sort,
|
||||
moduleIds,
|
||||
collectionId,
|
||||
treeType,
|
||||
projectId,
|
||||
};
|
||||
}
|
||||
getPlanDetail();
|
||||
|
|
Loading…
Reference in New Issue