feat(web): 新增 HID 配置引导

This commit is contained in:
mofeng-git
2026-09-06 11:19:55 +08:00
parent 2c19208094
commit 5de5ee42c2
22 changed files with 1044 additions and 522 deletions

View File

@@ -516,8 +516,8 @@ export const useConfigStore = defineStore('config', () => {
return response
}
async function updateHid(update: HidConfigUpdate) {
const response = await hidConfigApi.update(update)
async function updateHid(update: HidConfigUpdate, signal?: AbortSignal) {
const response = await hidConfigApi.update(update, signal)
hid.value = response
return response
}