fix(接口测试): 过去7天有更新的接口跳转问题
--user=郭雨琦 --bug=1014026 接口首页,过去7天有更新的接口,点击ID/名称跳转后会提示场景已删除 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014026
This commit is contained in:
parent
ffa0f22166
commit
ea6e5cd5a8
|
@ -723,9 +723,9 @@ export default {
|
|||
}
|
||||
this.$nextTick(() => {
|
||||
this.apiDefaultTab = newTabName;
|
||||
if(!addNewTab && action === "SCHEDULE") {
|
||||
if (!addNewTab && action === "SCHEDULE") {
|
||||
//定时任务tab不用重新开启,但是需要更新数据
|
||||
if(this.$refs.apiSchedules){
|
||||
if (this.$refs.apiSchedules) {
|
||||
this.$refs.apiSchedules.searchTaskList();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ export default {
|
|||
let uuid = getUUID();
|
||||
switch (pageType) {
|
||||
case "api":
|
||||
this.$router.push('/api/definition/' + uuid + '?resourceId=' + param)
|
||||
this.$emit('redirectPage', 'api', 'api', 'edit:' + param);
|
||||
break;
|
||||
case "apiCase":
|
||||
this.$emit('redirectPage', 'api', 'apiTestCase', 'singleList:' + param);
|
||||
|
@ -215,13 +215,13 @@ export default {
|
|||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.search();
|
||||
},
|
||||
activated() {
|
||||
this.search();
|
||||
}
|
||||
created() {
|
||||
this.search();
|
||||
},
|
||||
activated() {
|
||||
this.search();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
Loading…
Reference in New Issue