mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 03:38:20 +08:00
fix: fix ci issue
This commit is contained in:
parent
c516b3de04
commit
ac39067919
@ -172,7 +172,7 @@ export const caseDecisionTree: TestCase = async (context) => {
|
|||||||
protected getProcessBarStyle(attributes: Required<RectStyleProps>): GRectStyleProps {
|
protected getProcessBarStyle(attributes: Required<RectStyleProps>): GRectStyleProps {
|
||||||
const { rate, status } = this.data;
|
const { rate, status } = this.data;
|
||||||
const color = COLORS[status];
|
const color = COLORS[status];
|
||||||
const percent = `${rate * 100}%`;
|
const percent = `${Number(rate) * 100}%`;
|
||||||
return {
|
return {
|
||||||
x: -16,
|
x: -16,
|
||||||
y: NODE_HEIGHT - 20,
|
y: NODE_HEIGHT - 20,
|
||||||
|
Loading…
Reference in New Issue
Block a user