fix(测试跟踪): 评审评论显示问题 (#18205)
--bug=1017038 --user=宋昌昌 【测试跟踪】github#18052,【测试跟踪>>用例评审】评审结果先添加图片,然后再填写评审意见;最后点击保存。 评审信息中只能看到图片,没有评审信息 https://www.tapd.cn/55049933/s/1248984 Co-authored-by: song-cc-rock <changchang.song@fit2cloud.com>
This commit is contained in:
parent
3a29a3c71c
commit
99cab02ba4
|
@ -183,6 +183,14 @@ export default {
|
||||||
if (this.srcList.indexOf(itemStrArr) < 0) {
|
if (this.srcList.indexOf(itemStrArr) < 0) {
|
||||||
this.srcList.push(imgUrl);
|
this.srcList.push(imgUrl);
|
||||||
}
|
}
|
||||||
|
if (endUrlIndex !== itemStr.length - 1) {
|
||||||
|
let inputStr = itemStr.substr(endUrlIndex + 1, itemStr.length - 1);
|
||||||
|
if (this.imgDescription === "") {
|
||||||
|
this.imgDescription = inputStr;
|
||||||
|
} else {
|
||||||
|
this.imgDescription = "\n" + inputStr;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let inputStr = itemStr.substr(0, picNameIndex);
|
let inputStr = itemStr.substr(0, picNameIndex);
|
||||||
|
|
Loading…
Reference in New Issue