Skip to content

Commit

Permalink
feat: dataset list: support upload file
Browse files Browse the repository at this point in the history
  • Loading branch information
zggmd committed Mar 28, 2024
1 parent f260649 commit 2311dcd
Show file tree
Hide file tree
Showing 2 changed files with 554 additions and 5 deletions.
8 changes: 8 additions & 0 deletions packages/dataset-version-list/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ class DatasetVersionList$$Component extends React.Component {
if (event.key === 'delete') {
return this.delVersion(params);
}
if (event.key === 'dataProcess') {
return this.history.push(
`/data-handle/create?dataset=${params.dataset.name}&datasetVersion=${params.version.name}`
);
}
if (event.key === 'import') {
return this.props.onImportDataClick(params);
}
if (event.key === 'release') {
return this.release(params);
}
Expand Down
Loading

0 comments on commit 2311dcd

Please sign in to comment.