From 3a8d7ebd8475106965081c1dde022ea3642e9d93 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 14 Apr 2025 17:56:28 +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