customize api...

This commit is contained in:
Gabe Yuan
2023-09-06 00:25:46 +08:00
parent 93fd82fcd9
commit f772fa000c
9 changed files with 286 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ export function useTranslate(q, rule, setting) {
q,
fromLang,
toLang,
setting,
setting: setting[translator],
});
setText(trText);
setSamelang(isSame);