fix: 修改打包失败

This commit is contained in:
wxg0103 2024-11-22 17:54:23 +08:00
parent b931fbd7ab
commit a96b0c166a

View File

@ -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,