mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -05:00
🔨 Refactor: fix hidedock setting
This commit is contained in:
parent
8421925f9d
commit
09ad102fe8
@ -1244,6 +1244,7 @@ function updateHelperChange (val: ICheckBoxValueType) {
|
||||
function handleHideDockChange (val: ICheckBoxValueType) {
|
||||
if (val && currentStartMode.value === 'no-tray') {
|
||||
ElMessage.warning($T('SETTINGS_ISHIDEDOCK_TIPS'))
|
||||
form.isHideDock = false
|
||||
return
|
||||
}
|
||||
saveConfig('settings.isHideDock', val)
|
||||
|
Loading…
Reference in New Issue
Block a user