json文件导入以及页面跳转功能处理
This commit is contained in:
parent
17eee73f37
commit
9b2abb7847
@ -1422,6 +1422,7 @@ const Index = React.memo(
|
||||
};
|
||||
const handleExportDataBase = (e, dataSource) => {
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
const { entities, domains } = dataSource
|
||||
const workBook = window.XLSX.utils.book_new();
|
||||
for (let index = 0; index < entities.length; index++) {
|
||||
@ -1590,11 +1591,11 @@ const Index = React.memo(
|
||||
break;
|
||||
case 'standardDataExport':
|
||||
handleExportDataBase(e, dataSource);
|
||||
break;
|
||||
case 'standardDataImport':
|
||||
handleImportDataBase(e, dataSource);
|
||||
break;
|
||||
default:
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user