Skip to content

Commit 998408b

Browse files
committed
refactor(site): 移除文档中 lodash-es 依赖,移除无用 console
1 parent babbe9d commit 998408b

File tree

6 files changed

+12
-49
lines changed

6 files changed

+12
-49
lines changed

examples/engine-browser-examples/src/pages/graph/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const customTheme: Partial<LogicFlow.Theme> = {
5353
baseNode: {
5454
stroke: '#4E93F5',
5555
},
56+
// nodeText 样式设置
5657
nodeText: {
5758
overflowMode: 'ellipsis',
5859
lineHeight: 1.5,

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logicflow/core",
3-
"version": "2.0.0-beta.2",
3+
"version": "2.0.0-beta.3",
44
"description": "LogicFlow, help you quickly create flowcharts",
55
"main": "lib/index.js",
66
"module": "es/index.js",

packages/core/src/view/Graph.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ type ContainerStyle = {
3838
@observer
3939
class Graph extends Component<IGraphProps> {
4040
handleResize = () => {
41-
console.log('handleResize')
4241
this.props.graphModel.resize()
4342
}
4443

packages/extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logicflow/extension",
3-
"version": "2.0.0-beta.2",
3+
"version": "2.0.0-beta.3",
44
"description": "LogicFlow Extensions",
55
"main": "lib/index.js",
66
"module": "es/index.js",

pnpm-lock.yaml

Lines changed: 9 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sites/docs/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"dependencies": {
2929
"@ant-design/icons-svg": "^4.2.1",
3030
"@types/react-dom": "^18.3.0",
31-
"lodash-es": "4.17.21",
3231
"lottie-web": "^5.12.2",
3332
"rc-util": "^5.43.0"
3433
},

0 commit comments

Comments
 (0)