fix(测试计划): 修复计划详情-缺陷列表点击ID查看缺陷详情-用例/评论/变更历史标签点击报错

This commit is contained in:
xinxin.wu 2024-08-13 15:20:49 +08:00 committed by 刘瑞斌
parent 5fa1a017d0
commit b56a6d327b
2 changed files with 2 additions and 2 deletions

View File

@ -410,7 +410,7 @@
const editLoading = ref<boolean>(false);
async function getDetail() {
const res = await getBugDetail(currentDetailId.value);
const res = await getBugDetail(props.detailId);
loadedBug(res);
}

View File

@ -174,7 +174,7 @@
const detailVisible = ref(false);
const activeDetailId = ref<string>('');
const currentPlatform = ref('Local');
const handleShowDetail = async (id: string) => {
const handleShowDetail = (id: string) => {
activeDetailId.value = id;
detailVisible.value = true;
};