Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1b86cbb

Browse files
feat: add before upload params
feat: add before upload params
2 parents e7ab435 + ae52e66 commit 1b86cbb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-visual-modeling",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "一个基于React的数据可视化建模的DAG图,适用于UML,数据库建模,数据仓库建设等业务",
55
"main": "dist/index.js",
66
"pack": "pack/index.js",

‎src/index.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ export default class TableBuilding extends React.Component<ComProps, any> {
173173
)
174174
);
175175

176-
beforeLoad({Arrow});
176+
beforeLoad({
177+
canvas: this.canvas,
178+
Arrow
179+
});
177180

178181
this.canvas.draw(result, () => {
179182
this.props.onLoaded && this.props.onLoaded(this.canvas);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /