Merge branch 'master' of https://github.com/metersphere/server
This commit is contained in:
commit
ad0dcbaa74
|
@ -248,6 +248,10 @@ public class XmindCaseParser {
|
|||
String nodePath = data.getNodePath();
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
|
||||
if (data.getName().length() > 50) {
|
||||
stringBuilder.append(data.getName() + ":" + Translator.get("test_case") + Translator.get("test_track.length_less_than") + "50 ;");
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(nodePath)) {
|
||||
String[] nodes = nodePath.split("/");
|
||||
if (nodes.length > TestCaseConstants.MAX_NODE_DEPTH + 1) {
|
||||
|
@ -259,7 +263,7 @@ public class XmindCaseParser {
|
|||
stringBuilder.append(Translator.get("module_not_null") + "; ");
|
||||
break;
|
||||
} else if (nodes[i].trim().length() > 30) {
|
||||
stringBuilder.append(nodes[i].trim() + ":" + Translator.get("test_track.length_less_than") + "30 ;");
|
||||
stringBuilder.append(nodes[i].trim() + ":" + Translator.get("module") + Translator.get("test_track.length_less_than") + "30 ;");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
width: 20px;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
.show-more-btn-title {
|
||||
|
|
|
@ -231,7 +231,7 @@
|
|||
filterable
|
||||
style="width: 20%"
|
||||
:placeholder="$t('test_track.issue.please_choose_current_owner')"
|
||||
collapse-tags>
|
||||
collapse-tags size="small">
|
||||
<el-option v-for="(userInfo, index) in users" :key="index" :label="userInfo.user"
|
||||
:value="userInfo.user"/>
|
||||
</el-select>
|
||||
|
|
Loading…
Reference in New Issue