fix(缺陷管理): 修复缺陷管理页面BUG

--bug=1043050 --user=宋昌昌 【缺陷管理】缺陷详情-用例-关联/取消关联用例-用例标签数量未实时更新 https://www.tapd.cn/55049933/s/1535952
This commit is contained in:
song-cc-rock 2024-06-25 14:04:19 +08:00 committed by 刘瑞斌
parent bc045fb26a
commit d655120f51
2 changed files with 8 additions and 6 deletions

View File

@ -390,7 +390,13 @@
const editLoading = ref<boolean>(false);
async function getDetail() {
const res = await getBugDetail(props.detailId);
loadedBug(res);
}
function updateSuccess() {
getDetail();
emit('submit');
}
@ -541,11 +547,6 @@
return data;
}
async function getDetail() {
const res = await getBugDetail(props.detailId);
loadedBug(res);
}
watch(
() => showDrawerVisible.value,
(val) => {

View File

@ -626,14 +626,15 @@
//
const { templateId } = form.value;
//
await templateChange(templateId);
form.value = {
projectId: appStore.currentProjectId, // id
title: '',
description: '',
templateId,
tags: [],
platformSystemFields: {},
};
await templateChange(templateId);
//
fileList.value = [];
} else {