fix(用例管理): 导入后刷新列表
--bug=1035887 --user=王旭 【用例管理】功能用例-导入用例中的字段包含自定义字段但是该字段未添加到用例模板,导入后该字段也显示了。 https://www.tapd.cn/55049933/s/1485563
This commit is contained in:
parent
b888024dea
commit
f22b303187
|
@ -1602,6 +1602,7 @@
|
|||
|
||||
defineExpose({
|
||||
emitTableParams,
|
||||
initData,
|
||||
});
|
||||
await getDefaultFields();
|
||||
</script>
|
||||
|
|
|
@ -365,7 +365,7 @@
|
|||
validateResultModal.value = false;
|
||||
caseTreeRef.value.initModules();
|
||||
}
|
||||
|
||||
const caseTableRef = ref();
|
||||
const importLoading = ref<boolean>(false);
|
||||
// 确定导入
|
||||
async function conFirmImport() {
|
||||
|
@ -380,7 +380,7 @@
|
|||
Message.success(t('caseManagement.featureCase.importSuccess'));
|
||||
validateResultModal.value = false;
|
||||
showExcelModal.value = false;
|
||||
caseTreeRef.value.initModules();
|
||||
caseTableRef.value.initData();
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
} finally {
|
||||
|
@ -388,8 +388,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
const caseTableRef = ref();
|
||||
|
||||
function dragUpdate() {
|
||||
caseTableRef.value.emitTableParams();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue