Skip to content

Commit a96b0c1

Browse files
committed
fix: 修改打包失败
1 parent b931fbd commit a96b0c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui/src/workflow/common/edge.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ class CustomEdge2 extends BezierEdge {
7171
delete style.stroke
7272

7373
return h('g', {}, [
74-
h('style', { type: 'text/css' }, '.lf-edge{stroke:#afafaf}.lf-edge:hover{stroke: #3370FF;}'),
74+
h(
75+
'style' as any,
76+
{ type: 'text/css' },
77+
'.lf-edge{stroke:#afafaf}.lf-edge:hover{stroke: #3370FF;}'
78+
),
7579
h('path', {
7680
d: path,
7781
...style,

0 commit comments

Comments
 (0)