From 19378c283f19ee0b023b3cd73fbdd331eed2fe17 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期四, 02 十一月 2023 18:45:25 +0800
Subject: [PATCH] feat: 添加工艺列表接口,工艺详情弹窗未完成

---
 src/stores/tasks.ts |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/src/stores/tasks.ts b/src/stores/tasks.ts
index 92035a0..3a97ead 100644
--- a/src/stores/tasks.ts
+++ b/src/stores/tasks.ts
@@ -123,22 +123,6 @@
     activeTask.value = task
   }
 
-  const requestParamsMap = ref<{
-    [channel: number]: TaskListParams
-  }>({})
-  function getParamsByChannel(channel: number) {
-    return (
-      requestParamsMap.value[channel] ?? {
-        type: 1,
-        offset: 0,
-        limit: 3
-      }
-    )
-  }
-
-  function setParamsByChannel(channel: number, params: TaskListParams) {
-    requestParamsMap.value[channel] = params
-  }
   return {
     channels,
     getChannels,
@@ -146,9 +130,6 @@
     activeTask,
     reload,
     setActiveTask,
-    requestParamsMap,
-    getParamsByChannel,
-    setParamsByChannel,
     moreChannelTasksBtn,
     foldChannelTasksBtn
   }

--
Gitblit v1.8.0