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({
|
defineExpose({
|
||||||
emitTableParams,
|
emitTableParams,
|
||||||
|
initData,
|
||||||
});
|
});
|
||||||
await getDefaultFields();
|
await getDefaultFields();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -365,7 +365,7 @@
|
||||||
validateResultModal.value = false;
|
validateResultModal.value = false;
|
||||||
caseTreeRef.value.initModules();
|
caseTreeRef.value.initModules();
|
||||||
}
|
}
|
||||||
|
const caseTableRef = ref();
|
||||||
const importLoading = ref<boolean>(false);
|
const importLoading = ref<boolean>(false);
|
||||||
// 确定导入
|
// 确定导入
|
||||||
async function conFirmImport() {
|
async function conFirmImport() {
|
||||||
|
@ -380,7 +380,7 @@
|
||||||
Message.success(t('caseManagement.featureCase.importSuccess'));
|
Message.success(t('caseManagement.featureCase.importSuccess'));
|
||||||
validateResultModal.value = false;
|
validateResultModal.value = false;
|
||||||
showExcelModal.value = false;
|
showExcelModal.value = false;
|
||||||
caseTreeRef.value.initModules();
|
caseTableRef.value.initData();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
} finally {
|
} finally {
|
||||||
|
@ -388,8 +388,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const caseTableRef = ref();
|
|
||||||
|
|
||||||
function dragUpdate() {
|
function dragUpdate() {
|
||||||
caseTableRef.value.emitTableParams();
|
caseTableRef.value.emitTableParams();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue