From c7f3fd5215399b37d0511b3bd555150ff1b13507 Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期一, 29 四月 2024 10:39:30 +0800 Subject: [PATCH] fix:回退原先版本 --- src/stores/devices.ts | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/stores/devices.ts b/src/stores/devices.ts index e0f81ef..0b71784 100644 --- a/src/stores/devices.ts +++ b/src/stores/devices.ts @@ -25,11 +25,14 @@ data: deviceRes, run: startDevicePolling, cancel: cancelDevicePolling - } = useRequest(getDeviceList, { - manual: true, - pollingInterval: DEVICE_INFO_POLLING_DURATION, - pollingWhenHidden: false - }) + } = useRequest( + getDeviceList + // { + // manual: true, + // pollingInterval: DEVICE_INFO_POLLING_DURATION, + // pollingWhenHidden: false + // } + ) function startPollingDevice() { cancelDevicePolling() -- Gitblit v1.8.0