fix(缺陷管理): 修复缺陷管理页面BUG
--bug=1043050 --user=宋昌昌 【缺陷管理】缺陷详情-用例-关联/取消关联用例-用例标签数量未实时更新 https://www.tapd.cn/55049933/s/1535952
This commit is contained in:
parent
bc045fb26a
commit
d655120f51
|
@ -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) => {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue