From 5c6875454a126cd2a68bcbd2b63ed4902224487b Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 02 十一月 2023 19:27:53 +0800 Subject: [PATCH] 拉代码 --- 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