fix(测试跟踪): 脑图保存报错后一直loading
--bug=1022355 --user=陈建星 【测试跟踪】github#21531,V2.6 功能测试-脑图创建名称同样的模块,页面会卡 https://www.tapd.cn/55049933/s/1340346
This commit is contained in:
parent
de86fe7ad0
commit
a304d2c0ec
|
@ -96,6 +96,7 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
|
||||||
throw new RuntimeException(Translator.get("test_case_node_level_tip")
|
throw new RuntimeException(Translator.get("test_case_node_level_tip")
|
||||||
+ TestCaseConstants.MAX_NODE_DEPTH + Translator.get("test_case_node_level"));
|
+ TestCaseConstants.MAX_NODE_DEPTH + Translator.get("test_case_node_level"));
|
||||||
}
|
}
|
||||||
|
this.checkTestCaseNodeExist(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkTestCaseNodeExist(TestCaseNode node) {
|
private void checkTestCaseNodeExist(TestCaseNode node) {
|
||||||
|
|
|
@ -339,7 +339,10 @@ export default {
|
||||||
if (callback && callback instanceof Function) {
|
if (callback && callback instanceof Function) {
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
.catch(() => {
|
||||||
|
this.result.loading = false;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
buildSaveParam(root, parent, preNode, nextNode) {
|
buildSaveParam(root, parent, preNode, nextNode) {
|
||||||
let data = root.data;
|
let data = root.data;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<div class="bar-item click-item"
|
<div class="bar-item click-item"
|
||||||
@click="handleNext">
|
@click="handleNext">
|
||||||
<span>
|
<span>
|
||||||
{{ $t("case.previous_public_case") }}
|
{{ $t('case.next_public_case') }}
|
||||||
</span>
|
</span>
|
||||||
<i class="el-icon-arrow-right"/>
|
<i class="el-icon-arrow-right"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
@click="handlePre">
|
@click="handlePre">
|
||||||
<i class="el-icon-arrow-left"/>
|
<i class="el-icon-arrow-left"/>
|
||||||
<span>
|
<span>
|
||||||
{{ $t('case.next_public_case') }}
|
{{ $t("case.previous_public_case") }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue