fix(接口定义): 修复创建新版本时备注复制的问题
--bug=1009876 --user=刘瑞斌 【接口定义】-创建新版本的接口时选择不同步备注信息,实际会同步备注信息 https://www.tapd.cn/55049933/s/1096235
This commit is contained in:
parent
42e4c09e62
commit
ac142ee15f
|
@ -272,6 +272,7 @@ export default {
|
|||
this.currentApi.isCopy = false;
|
||||
// 创建了新版本的api,之后id变了,ref_id 保存了原始id
|
||||
data.id = response.data.id;
|
||||
data.remark = response.data.remark;
|
||||
this.$emit('saveApi', data);
|
||||
});
|
||||
this.$store.state.apiMap.delete(this.currentApi.id);
|
||||
|
|
|
@ -2336,7 +2336,7 @@ export default {
|
|||
},
|
||||
reporter: 'Reporter',
|
||||
lastmodify: 'Last Modify',
|
||||
sync_to_new_version: "Sync to latest version",
|
||||
sync_to_new_version: "Copy to latest version",
|
||||
},
|
||||
test_resource_pool: {
|
||||
id: 'Resource Pool ID',
|
||||
|
|
|
@ -424,7 +424,7 @@ export default {
|
|||
is_new: "是否新建",
|
||||
form_config: "表单配置",
|
||||
form_content: "表单内容",
|
||||
sync_other_info: "同步以下信息到新版本",
|
||||
sync_other_info: "复制以下信息到新版本",
|
||||
delete_current_version: '列表版本',
|
||||
delete_all_version: '全部版本',
|
||||
},
|
||||
|
|
|
@ -2042,7 +2042,7 @@ export default {
|
|||
},
|
||||
case_desc: "用例描述",
|
||||
passing_rate: '用例通過率',
|
||||
sync_to_new_version: "同步以下信息到新版本",
|
||||
sync_to_new_version: "復製以下信息到新版本",
|
||||
},
|
||||
plan: {
|
||||
test_plan: "測試計劃",
|
||||
|
|
Loading…
Reference in New Issue