fix: 拓扑取网元状态改ws读取
This commit is contained in:
@@ -146,7 +146,7 @@ export function edgeLineAnimateState() {
|
||||
}
|
||||
if (value) {
|
||||
// 第一个矩形边
|
||||
const fillColor = model?.labelCfg?.style?.fill || '#1890ff';
|
||||
const fillColor = typeof value === 'string' ? value : '#1890ff';
|
||||
// 边缘路径的起始位置
|
||||
const startPoint = keyShape.getPoint(0);
|
||||
back1 = group.addShape('circle', {
|
||||
@@ -221,7 +221,7 @@ export function edgeLineAnimateState() {
|
||||
index = 0;
|
||||
}
|
||||
return {
|
||||
lineDash: [4, 2, 1, 2],
|
||||
lineDash: [4, 2, 2, 2],
|
||||
lineDashOffset: -index,
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user