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(() => {
em('update:loading', true);
if (service === 'FreshClam') {
operation = 'fresh-' + operation;
}
updateClamBaseInfo(operation)
.then(() => {
em('update:maskShow', true);