From 2bb9a863e75312fe90869ea3deea137b46b1bb1e Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 06 十一月 2023 17:46:43 +0800 Subject: [PATCH] 拉代码 --- src/stores/tasks.ts | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/stores/tasks.ts b/src/stores/tasks.ts index 3a97ead..e115738 100644 --- a/src/stores/tasks.ts +++ b/src/stores/tasks.ts @@ -77,10 +77,14 @@ /** * 鍒锋柊鎵�鏈夋暟鎹� */ - function reload(channel: number) { + function reloadChannel(channel: number) { getChannels(currentType.value).then(() => { autoSelectTask(channel) }) + } + + function reloadAllData() { + getChannels(currentType.value) } function moreChannelTasksBtn(channelNumber: number) { @@ -128,9 +132,10 @@ getChannels, moreBtnStatus, activeTask, - reload, + reloadChannel, setActiveTask, moreChannelTasksBtn, - foldChannelTasksBtn + foldChannelTasksBtn, + reloadAllData } }) -- Gitblit v1.8.0