fix(测试跟踪): 修复公共用例库中编辑用例库保存后,该用例被移除公共用例库的缺陷

--bug=1009993 --user=王孝刚 【公共用例库】-编辑用例库保存后,该用例被移除公共用例库
https://www.tapd.cn/55049933/s/1098429
This commit is contained in:
wxg0103 2022-01-25 18:27:13 +08:00 committed by zhangdahai112
parent bccd9fa685
commit 1679ddf75e
1 changed files with 3 additions and 0 deletions

View File

@ -744,6 +744,9 @@ export default {
param.projectId = this.projectId;
}
}
if (this.publicEnable) {
this.casePublic = true;
}
param.name = param.name.trim();
if (this.form.tags instanceof Array) {
this.form.tags = JSON.stringify(this.form.tags);