Feature(custom): optimize scripts for gallery item delete

This commit is contained in:
Kuingsmile
2026-01-26 20:47:18 +08:00
parent 9c8698907e
commit 0145ce2aa7
10 changed files with 13 additions and 11 deletions

View File

@@ -1605,7 +1605,6 @@ const addWatch = () => {
watch(
() => formOfSetting.value.mainWindowWidth,
newVal => {
console.log('Main window width changed:', newVal)
const width = enforceNumber(newVal)
saveConfig({ [configPaths.settings.mainWindowWidth]: rawPicGoSize.value ? 800 : Math.max(width, 100) })
},
@@ -1614,7 +1613,6 @@ const addWatch = () => {
watch(
() => formOfSetting.value.mainWindowHeight,
newVal => {
console.log('Main window height changed:', newVal)
const height = enforceNumber(newVal)
saveConfig({ [configPaths.settings.mainWindowHeight]: rawPicGoSize.value ? 450 : Math.max(height, 100) })
},