fix(测试跟踪): 自定义字段类型为富文本控制台报错问题
--bug=1023155 --user=宋昌昌 【测试跟踪】功能用例-进入用例编辑页面前端报错 https://www.tapd.cn/55049933/s/1344195
This commit is contained in:
parent
0afa87373f
commit
9bf8109d9a
|
@ -81,7 +81,7 @@ export function parseCustomField(data, template, rules, oldFields) {
|
|||
if (customField.id === item.id) {
|
||||
try {
|
||||
if (item.type === "textarea" || item.type === "richText") {
|
||||
setDefaultValue(item, customField.textValue);
|
||||
setDefaultValue(item, "\"" + customField.textValue + "\"");
|
||||
} else {
|
||||
setDefaultValue(item, customField.value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue