fix: 解决 FreshClam 操作失败的问题 (#6374)

Refs #6372
pull/6379/head
ssongliu 2024-09-05 15:09:46 +08:00 committed by GitHub
parent 3356bd8825
commit 1cdc2e93ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@ const onOperate = async (service: string, operation: string) => {
)
.then(() => {
em('update:loading', true);
if (service === 'FreshClam') {
operation = 'fresh-' + operation;
}
updateClamBaseInfo(operation)
.then(() => {
em('update:maskShow', true);