fix(用例管理): 用例保存并继续后未清空标签&步骤内容

--bug=1036080 --user=王旭 【用例管理】功能用例-创建用例-保存并继续创建后未清空内容 https://www.tapd.cn/55049933/s/1479968
This commit is contained in:
WangXu10 2024-03-25 14:49:10 +08:00 committed by Craftsman
parent adb640ec13
commit 6248845e6a
1 changed files with 10 additions and 0 deletions

View File

@ -753,6 +753,16 @@
};
});
fileList.value = [];
form.value.tags = [];
stepData.value = [
{
id: getGenerateId(),
step: '',
expected: '',
showStep: false,
showExpected: false,
},
];
caseFormRef.value?.resetFields();
}