mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-06 05:58:46 +08:00
fix(功能用例): 修复Xmind导入时出现案例标签为空数组的错误
修复Xmind导入时出现案例标签为空数组的错误
This commit is contained in:
parent
189ce568f7
commit
9200595458
@ -404,7 +404,10 @@ public class XmindCaseParser {
|
||||
rc.append(replace(item.getTitle(), RC_REGEX));
|
||||
rc.append("\n");
|
||||
} else if (isAvailable(item.getTitle(), TAG_REGEX)) {
|
||||
tags.add(replace(item.getTitle(), TAG_REGEX));
|
||||
String tag = replace(item.getTitle(), TAG_REGEX);
|
||||
if (StringUtils.isNotEmpty(tag)) {
|
||||
tags.add(tag);
|
||||
}
|
||||
} else if (isAvailable(item.getTitle(), ID_REGEX)) {
|
||||
customId.append(replace(item.getTitle(), ID_REGEX));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user