refactor: rename api args

This commit is contained in:
Gabe
2025-09-03 12:24:18 +08:00
parent 17c8d198c3
commit 2b496bda31
4 changed files with 14 additions and 14 deletions

View File

@@ -245,7 +245,7 @@ export const apiTranslate = async ({
// 请求接口数据
let trText = "";
let srLang = "";
if (apiSetting.isBatchFetch && OPT_TRANS_BATCH.has(translator)) {
if (apiSetting.useBatchFetch && OPT_TRANS_BATCH.has(translator)) {
const queue = getBatchQueue(
{
translator,