fix: translation hooks and custom api doc

This commit is contained in:
Gabe
2025-11-03 18:42:47 +08:00
parent fd014a1d34
commit 4b19902e5c
4 changed files with 40 additions and 4 deletions

View File

@@ -1404,7 +1404,7 @@ export class Translator {
apisMap,
});
if (hookResult) {
Object.assign(args, ...hookResult);
Object.assign(args, hookResult);
}
} catch (err) {
kissLog("transStartHook", err);