Commit 3e5cd1d6 by zhaochengxiang

单个导出ddl

parent fad4eee0
......@@ -295,9 +295,10 @@ class ExportDDLModal extends React.Component {
key="1"
type="primary"
onClick={() => {
window.open(`/api/datamodeler/easyDataModelerExport/ddlStringAsFile?ids=${ids.join(',')}&ddlGeneratorName=${selectDDLGeneratorName}`);
this.reset();
onCancel && onCancel();
if (selectModalerNameKey > -1 && ids?.length > selectModalerNameKey)
window.open(`/api/datamodeler/easyDataModelerExport/ddlStringAsFile?ids=${ids[selectModalerNameKey]}&ddlGeneratorName=${selectDDLGeneratorName}`);
// this.reset();
// onCancel && onCancel();
}}
>
导出到文件
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment