feat: Web端自动刷新画面机制

- DeviceScreen添加无帧超时检测(8秒无帧触发刷新)
- 自动发送REFRESH_SCREEN请求给服务端
- 15秒冷却期防止频繁刷新
This commit is contained in:
wdvipa
2026-02-15 19:45:58 +08:00
parent bec7cd3979
commit 03e4cb8dab
2 changed files with 55 additions and 12 deletions

View File

@@ -7,73 +7,73 @@
"react": {
"src": "../../react/index.js",
"file": "react.js",
"fileHash": "82b88bac",
"fileHash": "b64083dc",
"needsInterop": true
},
"react-dom": {
"src": "../../react-dom/index.js",
"file": "react-dom.js",
"fileHash": "f147bcf0",
"fileHash": "4cc1d72b",
"needsInterop": true
},
"@reduxjs/toolkit": {
"src": "../../@reduxjs/toolkit/dist/redux-toolkit.modern.mjs",
"file": "@reduxjs_toolkit.js",
"fileHash": "e2e532ed",
"fileHash": "229d524d",
"needsInterop": false
},
"react-redux": {
"src": "../../react-redux/dist/react-redux.mjs",
"file": "react-redux.js",
"fileHash": "49e0dcfd",
"fileHash": "9cd5b390",
"needsInterop": false
},
"antd": {
"src": "../../antd/es/index.js",
"file": "antd.js",
"fileHash": "1c827006",
"fileHash": "804ee91a",
"needsInterop": false
},
"socket.io-client": {
"src": "../../socket.io-client/build/esm/index.js",
"file": "socket__io-client.js",
"fileHash": "f1f126a4",
"fileHash": "dfecfa57",
"needsInterop": false
},
"react/jsx-dev-runtime": {
"src": "../../react/jsx-dev-runtime.js",
"file": "react_jsx-dev-runtime.js",
"fileHash": "92554eaf",
"fileHash": "ee0e2149",
"needsInterop": true
},
"react/jsx-runtime": {
"src": "../../react/jsx-runtime.js",
"file": "react_jsx-runtime.js",
"fileHash": "c9146743",
"fileHash": "a8d2b404",
"needsInterop": true
},
"@ant-design/icons": {
"src": "../../@ant-design/icons/es/index.js",
"file": "@ant-design_icons.js",
"fileHash": "5c57aafc",
"fileHash": "02740ed7",
"needsInterop": false
},
"antd/locale/zh_CN": {
"src": "../../antd/locale/zh_CN.js",
"file": "antd_locale_zh_CN.js",
"fileHash": "731388b8",
"fileHash": "5fab095f",
"needsInterop": true
},
"dayjs": {
"src": "../../dayjs/dayjs.min.js",
"file": "dayjs.js",
"fileHash": "581df681",
"fileHash": "ed91b429",
"needsInterop": true
},
"react-dom/client": {
"src": "../../react-dom/client.js",
"file": "react-dom_client.js",
"fileHash": "f34fbc85",
"fileHash": "1733c935",
"needsInterop": true
}
},