fix(接口测试): 修复关闭case详情时提示资源不存在的缺陷
--bug=1039834 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039834
This commit is contained in:
parent
4104a5b0b1
commit
7448e8e19b
|
@ -376,7 +376,7 @@
|
|||
() => activeApiTab.value.isNew,
|
||||
async (newValue, oldValue) => {
|
||||
// isNew从true变成了false
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue