Skip to content

Commit

Permalink
fix: 修改打包失败
Browse files Browse the repository at this point in the history
  • Loading branch information
wxg0103 committed Nov 22, 2024
1 parent b931fbd commit a96b0c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/src/workflow/common/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ class CustomEdge2 extends BezierEdge {
delete style.stroke

return h('g', {}, [
h('style', { type: 'text/css' }, '.lf-edge{stroke:#afafaf}.lf-edge:hover{stroke: #3370FF;}'),
h(
'style' as any,
{ type: 'text/css' },
'.lf-edge{stroke:#afafaf}.lf-edge:hover{stroke: #3370FF;}'
),
h('path', {
d: path,
...style,
Expand Down

0 comments on commit a96b0c1

Please sign in to comment.