From bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 15:41:21 +0800
Subject: [PATCH] feat: 修改任务事件概况的饼状图颜色
---
src/utils/flow.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/utils/flow.js b/src/utils/flow.js
index 7c9e918..5528893 100644
--- a/src/utils/flow.js
+++ b/src/utils/flow.js
@@ -4,7 +4,7 @@
* @returns {string}
*/
export function flowCategory(category) {
- return `flow_${category}`;
+ return `flow_${category}`
}
/**
@@ -13,8 +13,8 @@
* @param key
*/
export function flowRoute(routes, key) {
- const data = routes.filter(d => {
- return d.routeKey === key;
- });
- return data.length === 0 ? [] : data[0].routeValue;
+ const data = routes.filter(d => {
+ return d.routeKey === key
+ })
+ return data.length === 0 ? [] : data[0].routeValue
}
--
Gitblit v1.9.3