fix(接口测试): 复制case后路径显示不一致

--bug=1008947 --user=王孝刚 【github#8504】复制case后路径显示不一致
https://www.tapd.cn/55049933/s/1082706
This commit is contained in:
wxg0103 2021-12-17 19:21:39 +08:00 committed by BugKing
parent bbe0242ae4
commit df432e3593
2 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,7 @@
:fields-width="fieldsWidth"
min-width="120px">
<template slot-scope="scope">
<el-tooltip content="编辑">
<el-tooltip :content="$t('commons.edit')">
<a style="cursor:pointer" @click="edit(scope.row)"> {{ scope.row.num }} </a>
</el-tooltip>
</template>
@ -65,7 +65,7 @@
:fields-width="fieldsWidth"
min-width="120px">
<template slot-scope="scope">
<el-tooltip content="编辑">
<el-tooltip :content="$t('commons.edit')">
<a style="cursor:pointer" @click="edit(scope.row)"> {{ scope.row.customNum }} </a>
</el-tooltip>
</template>

View File

@ -158,6 +158,7 @@ export default {
}
this.api.method = apiCase.request.method
this.api.name = apiCase.request.name;
this.api.path = apiCase.request.path;
}
if (apiCase.tags) {
apiCase.tags = JSON.parse(apiCase.tags);