Skip to content

Commit 7e7ddfe

Browse files
author
昔梦
committed
fix:去除普通节点默认值
1 parent f9c13fb commit 7e7ddfe

File tree

1 file changed

+1
-1
lines changed
  • packages/x-flow/src/nodes/node-common

1 file changed

+1
-1
lines changed

packages/x-flow/src/nodes/node-common/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default memo((props: any) => {
1818
return (
1919
<NodeContainer
2020
className='custom-node-code'
21-
title={data?.title || nodeSetting.title}
21+
title={data?.title}// || nodeSetting.title 去除默认值
2222
icon={{
2323
type: nodeSetting?.icon?.type,
2424
style: { fontSize: 14, color: '#fff' },

0 commit comments

Comments
 (0)