mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 04:28:51 +08:00
fix(测试跟踪): 第三方平台缺陷保存后,描述会多添加双引号
--bug=1024826 --user=陈建星 【测试跟踪】项目集成jira-缺陷管理-创建缺陷-描述和环境为空和非空-创建成功显示为且保存一次就多一对 https://www.tapd.cn/55049933/s/1356267
This commit is contained in:
parent
23d2864fc1
commit
aaef0d7b16
@ -80,10 +80,7 @@ export function parseCustomField(data, template, rules, oldFields) {
|
||||
let customField = data.fields[i];
|
||||
if (customField.id === item.id) {
|
||||
try {
|
||||
if (item.type === "richText") {
|
||||
setDefaultValue(item, "\"" + customField.textValue + "\"");
|
||||
} else if (item.type === "textarea") {
|
||||
// 文本框类型取值为textValue
|
||||
if (item.type === "textarea" || item.type === "richText") {
|
||||
setDefaultValue(item, customField.textValue);
|
||||
} else {
|
||||
setDefaultValue(item, customField.value);
|
||||
|
Loading…
Reference in New Issue
Block a user