fix(接口定义): 修复接口定义复制接口编辑页面展示test按钮的缺陷

--bug=1017895 --user=王孝刚
【接口测试】sql协议-操作-复制-修改接口名称后切换到test页面-修改信息后再切换到api页面-保存提示已存在
https://www.tapd.cn/55049933/s/1259748
This commit is contained in:
wxg0103 2022-10-12 17:07:58 +08:00 committed by wxg0103
parent 509f0f8a7f
commit 3d5bccd48a
1 changed files with 1 additions and 0 deletions

View File

@ -823,6 +823,7 @@ export default {
handleCopy(row) {
let obj = JSON.parse(JSON.stringify(row));
obj.isCopy = true;
delete obj.id;
this.$emit('copyApi', obj);
},
runApi(row) {