mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-14 03:32:00 +08:00
Merge pull request #261 from fcsha/fix/issue-260-msd-endpoint-budget
fix: 关闭 MSD 后保存 HID 配置时端点预算校验误判超限
This commit is contained in:
@@ -1182,10 +1182,10 @@ async function saveConfig() {
|
|||||||
hidUpdate.otg_functions = { ...config.value.hid_otg_functions }
|
hidUpdate.otg_functions = { ...config.value.hid_otg_functions }
|
||||||
hidUpdate.otg_keyboard_leds = config.value.hid_otg_keyboard_leds
|
hidUpdate.otg_keyboard_leds = config.value.hid_otg_keyboard_leds
|
||||||
}
|
}
|
||||||
await configStore.updateHid(hidUpdate)
|
|
||||||
await configStore.updateMsd({
|
await configStore.updateMsd({
|
||||||
enabled: config.value.msd_enabled,
|
enabled: config.value.msd_enabled,
|
||||||
})
|
})
|
||||||
|
await configStore.updateHid(hidUpdate)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (activeSection.value === 'msd') {
|
if (activeSection.value === 'msd') {
|
||||||
|
|||||||
Reference in New Issue
Block a user