mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-13 19:14:24 +08:00
feat(web): 新增 HID 配置引导
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user