fix(测试计划): 修复测试计划规划脑图保存偶发性报错

This commit is contained in:
xinxin.wu 2024-07-24 13:19:31 +08:00 committed by 刘瑞斌
parent 3f3c65ea75
commit 44587219dc
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@
configFormRef.value?.validate((errors) => {
if (!errors) {
const node: MinderJsonNode = window.minder.getSelectedNode();
if (node.data && configForm.value) {
if (node && node?.data && configForm.value) {
node.data = {
...node.data,
...cloneDeep(configForm.value),