🐛 Fix: fix config file sync bug

This commit is contained in:
萌萌哒赫萝
2023-05-06 10:38:16 +08:00
parent d8eea9c556
commit 344088f391
2 changed files with 39 additions and 31 deletions

View File

@@ -838,7 +838,6 @@
<el-button
type="primary"
round
:disabled="!allSynFilled"
@click="confirmSyncSetting"
>
{{ $T('CONFIRM') }}
@@ -1310,7 +1309,9 @@ function confirmSyncSetting () {
'settings.sync': sync.value
})
syncVisible.value = false
sendRPC(IRPCActionType.RELOAD_APP)
if (allSynFilled.value) {
sendRPC(IRPCActionType.RELOAD_APP)
}
}
const version = pkg.version