fix(接口自动化): 解决场景导入显示ID失败页面报错
--user=郭雨琦 显示ID的只有场景API和CASE其余不显示
This commit is contained in:
parent
5ad99db9ba
commit
98e931e096
|
@ -1652,7 +1652,7 @@ export default {
|
|||
}else if(data.refType==='CASE'){
|
||||
funcs.push(this.getApiTestCaseNumById(data.id));
|
||||
}
|
||||
}else {
|
||||
}else if(data.type==='scenario') {
|
||||
funcs.push(this.getScenarioNumById(data.id));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</template>
|
||||
|
||||
<template v-slot:afterTitle>
|
||||
<span @click = "clickResource(request)">{{"( ID: "+request.num+")"}}</span>
|
||||
<span v-if="request.refType==='API'||request.refType==='CASE'" @click = "clickResource(request)">{{"( ID: "+request.num+")"}}</span>
|
||||
</template>
|
||||
|
||||
<template v-slot:behindHeaderLeft>
|
||||
|
|
Loading…
Reference in New Issue