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

Refs #6372
This commit is contained in:
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

View file

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