fix(测试跟踪): 修复保存公共用例库数据时,数据从公共用例库移除的缺陷 (#13040)
--bug=1012717 --user=王孝刚 [测试跟踪] github#13004将用例树中的用例添加至公共用例库后,对用例库中该用例进行编辑并保存时,公共用例库中添加的用例被自动移除,功能实现有误,请修改 https://www.tapd.cn/55049933/s/1147448 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
7c240d23f9
commit
6c84ebff0f
|
@ -660,6 +660,7 @@ export default {
|
||||||
if (!this.form.stepModel) {
|
if (!this.form.stepModel) {
|
||||||
this.form.stepModel = "STEP";
|
this.form.stepModel = "STEP";
|
||||||
}
|
}
|
||||||
|
this.casePublic = tmp.casePublic;
|
||||||
this.form.module = testCase.nodeId;
|
this.form.module = testCase.nodeId;
|
||||||
//设置自定义熟悉默认值
|
//设置自定义熟悉默认值
|
||||||
this.customFieldForm = parseCustomField(this.form, this.testCaseTemplate, this.customFieldRules, testCase ? buildTestCaseOldFields(this.form) : null);
|
this.customFieldForm = parseCustomField(this.form, this.testCaseTemplate, this.customFieldRules, testCase ? buildTestCaseOldFields(this.form) : null);
|
||||||
|
|
|
@ -625,6 +625,7 @@ export default {
|
||||||
if (!this.form.stepModel) {
|
if (!this.form.stepModel) {
|
||||||
this.form.stepModel = "STEP";
|
this.form.stepModel = "STEP";
|
||||||
}
|
}
|
||||||
|
this.casePublic = tmp.casePublic;
|
||||||
this.form.module = testCase.nodeId;
|
this.form.module = testCase.nodeId;
|
||||||
//设置自定义熟悉默认值
|
//设置自定义熟悉默认值
|
||||||
this.customFieldForm = parseCustomField(this.form, this.testCaseTemplate, this.customFieldRules, testCase ? buildTestCaseOldFields(this.form) : null);
|
this.customFieldForm = parseCustomField(this.form, this.testCaseTemplate, this.customFieldRules, testCase ? buildTestCaseOldFields(this.form) : null);
|
||||||
|
|
Loading…
Reference in New Issue