fix(接口自动化): 解决编辑页面报错问题

--user=郭雨琦 接口自动化
This commit is contained in:
guoyuqi 2021-11-23 10:24:10 +08:00 committed by 刘瑞斌
parent 771a0d2615
commit 5c9e4e35b4
1 changed files with 1 additions and 1 deletions

View File

@ -1721,7 +1721,7 @@ export default {
},
getApiTestCaseNumById(id) {
return new Promise((resolve) => {
let url = '/api/testcase/findById/' + id;
let url = '/api/testcase/get/' + id;
this.$get(url, response => {
resolve(response.data.num);
});