fix (接口定义): 修复复制接口问题

--bug=1007334 --user=赵勇 【github#6815 】 复制的接口在未保存的情况下编辑原接口,跳转的是另一个复制接口 https://www.tapd.cn/55049933/s/1057611
This commit is contained in:
fit2-zhao 2021-10-22 11:35:57 +08:00 committed by fit2-zhao
parent 8778ea9b67
commit 8bc051a3ba
1 changed files with 3 additions and 3 deletions

View File

@ -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) {