fix(测试计划): 修复计划详情-缺陷列表点击ID查看缺陷详情-用例/评论/变更历史标签点击报错
This commit is contained in:
parent
5fa1a017d0
commit
b56a6d327b
|
@ -410,7 +410,7 @@
|
||||||
const editLoading = ref<boolean>(false);
|
const editLoading = ref<boolean>(false);
|
||||||
|
|
||||||
async function getDetail() {
|
async function getDetail() {
|
||||||
const res = await getBugDetail(currentDetailId.value);
|
const res = await getBugDetail(props.detailId);
|
||||||
loadedBug(res);
|
loadedBug(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@
|
||||||
const detailVisible = ref(false);
|
const detailVisible = ref(false);
|
||||||
const activeDetailId = ref<string>('');
|
const activeDetailId = ref<string>('');
|
||||||
const currentPlatform = ref('Local');
|
const currentPlatform = ref('Local');
|
||||||
const handleShowDetail = async (id: string) => {
|
const handleShowDetail = (id: string) => {
|
||||||
activeDetailId.value = id;
|
activeDetailId.value = id;
|
||||||
detailVisible.value = true;
|
detailVisible.value = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue