feat: qq transmart

This commit is contained in:
Gabe
2025-06-27 20:03:58 +08:00
parent 51f58d095a
commit 5f0ce57ead
2 changed files with 8 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ export const apiTranslate = async ({
}
break;
case OPT_TRANS_TENCENT:
trText = res.auto_translation;
trText = res?.auto_translation?.[0];
isSame = text === trText;
break;
case OPT_TRANS_OPENAI: