Skip to content

Commit

Permalink
🔧 build: 修正 antd 组件样式丢失的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Mar 18, 2021
1 parent eff822e commit 0c69c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .fatherrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
extraBabelPlugins: [
[
'import',
{ libraryName: 'antd', libraryDirectory: 'es', style: true },
{ libraryName: 'antd', libraryDirectory: 'es', style: 'css' },
'antd',
],
],
Expand Down
2 changes: 1 addition & 1 deletion packages/mindflow/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface MindflowProps {
*/
height?: number;
/**
* 点击节点操作
* 节点的点击回调
*/
onNodeClick?: (node) => void;
}
Expand Down

0 comments on commit 0c69c54

Please sign in to comment.