fix (接口定义): 修复复制接口问题
--bug=1007334 --user=赵勇 【github#6815 】 复制的接口在未保存的情况下编辑原接口,跳转的是另一个复制接口 https://www.tapd.cn/55049933/s/1057611
This commit is contained in:
parent
8778ea9b67
commit
8bc051a3ba
|
@ -503,7 +503,7 @@ export default {
|
|||
});
|
||||
},
|
||||
generateGraph() {
|
||||
getGraphByCondition('API', buildBatchParam(this, this.$refs.table.selectIds),(data) => {
|
||||
getGraphByCondition('API', buildBatchParam(this, this.$refs.table.selectIds), (data) => {
|
||||
this.graphData = data;
|
||||
this.$refs.relationshipGraph.open();
|
||||
});
|
||||
|
@ -602,7 +602,7 @@ export default {
|
|||
},
|
||||
handleCopy(row) {
|
||||
row.isCopy = true;
|
||||
this.$emit('editApi', row);
|
||||
this.$emit('editApi', JSON.parse(JSON.stringify(row)));
|
||||
},
|
||||
runApi(row) {
|
||||
|
||||
|
@ -723,7 +723,7 @@ export default {
|
|||
});
|
||||
},
|
||||
handleTestCase(api) {
|
||||
this.$emit("handleTestCase",api)
|
||||
this.$emit("handleTestCase", api)
|
||||
// this.$refs.caseList.open(this.selectApi);
|
||||
},
|
||||
handleDelete(api) {
|
||||
|
|
Loading…
Reference in New Issue