fix: fix ci issue

This commit is contained in:
yvonneyx 2024-08-06 16:58:11 +08:00
parent c516b3de04
commit ac39067919

View File

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