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")
|
||||
+ TestCaseConstants.MAX_NODE_DEPTH + Translator.get("test_case_node_level"));
|
||||
}
|
||||
this.checkTestCaseNodeExist(node);
|
||||
}
|
||||
|
||||
private void checkTestCaseNodeExist(TestCaseNode node) {
|
||||
|
|
|
@ -339,7 +339,10 @@ export default {
|
|||
if (callback && callback instanceof Function) {
|
||||
callback();
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
this.result.loading = false;
|
||||
});
|
||||
},
|
||||
buildSaveParam(root, parent, preNode, nextNode) {
|
||||
let data = root.data;
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<div class="bar-item click-item"
|
||||
@click="handleNext">
|
||||
<span>
|
||||
{{ $t("case.previous_public_case") }}
|
||||
{{ $t('case.next_public_case') }}
|
||||
</span>
|
||||
<i class="el-icon-arrow-right"/>
|
||||
</div>
|
||||
|
@ -43,7 +43,7 @@
|
|||
@click="handlePre">
|
||||
<i class="el-icon-arrow-left"/>
|
||||
<span>
|
||||
{{ $t('case.next_public_case') }}
|
||||
{{ $t("case.previous_public_case") }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue