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()