fix(接口定义) 修复快捷调试另存用例问题

--bug=1006875 --user=赵勇 【接口定义】快捷调试另存为用例不会更新用例状态 https://www.tapd.cn/55049933/s/1051151
This commit is contained in:
fit2-zhao 2021-09-24 14:15:00 +08:00 committed by fit2-zhao
parent dc570d4f57
commit 8df24cd6b5
1 changed files with 1 additions and 0 deletions

View File

@ -418,6 +418,7 @@ export default {
if (tmp.id) {
url = "/api/testcase/update";
} else {
tmp.request.id = getUUID();
tmp.id = tmp.request.id;
tmp.request.path = this.api.path;
if (tmp.request.protocol != "dubbo://" && tmp.request.protocol != "DUBBO") {