fix(接口定义): 修复创建新版本时备注复制的问题

--bug=1009876 --user=刘瑞斌 【接口定义】-创建新版本的接口时选择不同步备注信息,实际会同步备注信息 https://www.tapd.cn/55049933/s/1096235
This commit is contained in:
CaptainB 2022-01-22 15:14:26 +08:00 committed by 刘瑞斌
parent 76ad18cd66
commit 2e408f4c4c
4 changed files with 4 additions and 3 deletions

View File

@ -272,6 +272,7 @@ export default {
this.currentApi.isCopy = false;
// apiidref_id id
data.id = response.data.id;
data.remark = response.data.remark;
this.$emit('saveApi', data);
});
this.$store.state.apiMap.delete(this.currentApi.id);

View File

@ -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',

View File

@ -424,7 +424,7 @@ export default {
is_new: "是否新建",
form_config: "表单配置",
form_content: "表单内容",
sync_other_info: "同步以下信息到新版本",
sync_other_info: "复制以下信息到新版本",
delete_current_version: '列表版本',
delete_all_version: '全部版本',
},

View File

@ -2042,7 +2042,7 @@ export default {
},
case_desc: "用例描述",
passing_rate: '用例通過率',
sync_to_new_version: "同步以下信息到新版本",
sync_to_new_version: "復製以下信息到新版本",
},
plan: {
test_plan: "測試計劃",