Commit 3e5cd1d6 by zhaochengxiang

单个导出ddl

parent fad4eee0
...@@ -295,9 +295,10 @@ class ExportDDLModal extends React.Component { ...@@ -295,9 +295,10 @@ class ExportDDLModal extends React.Component {
key="1" key="1"
type="primary" type="primary"
onClick={() => { onClick={() => {
window.open(`/api/datamodeler/easyDataModelerExport/ddlStringAsFile?ids=${ids.join(',')}&ddlGeneratorName=${selectDDLGeneratorName}`); if (selectModalerNameKey > -1 && ids?.length > selectModalerNameKey)
this.reset(); window.open(`/api/datamodeler/easyDataModelerExport/ddlStringAsFile?ids=${ids[selectModalerNameKey]}&ddlGeneratorName=${selectDDLGeneratorName}`);
onCancel && onCancel(); // 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