Commit c6981279 by zhaochengxiang

word导入

parent e84aa72a
......@@ -338,7 +338,7 @@ class Model extends React.Component {
this.setState({ importModalVisible: false }, () => {
if ((hints||[]).length > 0) {
setTimeout(() => {
window.open(`/data-govern/data-model-action?${Action}=${importModalAction}&${CatalogId}=${catalogId}&${Hints}=${(hints||[]).join(',')}`);
window.open(`/data-govern/data-model-action?${Action}=${importModalAction}&${CatalogId}=${catalogId}&${Hints}=${encodeURIComponent((hints||[]).join(','))}`);
}, 1000);
}
});
......@@ -359,7 +359,7 @@ class Model extends React.Component {
setTimeout(() => {
datas.slice(0, 5).forEach(data => {
window.open(`/data-govern/data-model-action?${Action}=add&${CatalogId}=${catalogId}&${ModelerData}=${JSON.stringify(data)}`, '_blank');
window.open(`/data-govern/data-model-action?${Action}=add&${CatalogId}=${catalogId}&${ModelerData}=${encodeURIComponent(JSON.stringify(data))}`, '_blank');
})
}, 1000);
......
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