fix(接口测试): 修复关闭case详情时提示资源不存在的缺陷

--bug=1039834 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039834
This commit is contained in:
teukkk 2024-04-22 14:20:47 +08:00 committed by 刘瑞斌
parent 4104a5b0b1
commit 7448e8e19b
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@
() => activeApiTab.value.isNew,
async (newValue, oldValue) => {
// isNewtruefalse
if (oldValue && !newValue) {
if (oldValue && !newValue && activeApiTab.value.id !== 'all') {
const res = await getDefinitionDetail(activeApiTab.value.id);
activeApiTab.value.createUserName = res.createUserName;
activeApiTab.value.updateTime = res.updateTime;