input box trans

This commit is contained in:
Gabe Yuan
2023-09-15 20:44:01 +08:00
parent 6e8158bb34
commit 9293f422f3
5 changed files with 39 additions and 20 deletions

View File

@@ -340,6 +340,7 @@ export class Translator {
fromLang,
toLang,
triggerCount,
triggerTime,
transSign,
} = this._inputRule;
const apiSetting = (this._setting.transApis || DEFAULT_TRANS_APIS)[
@@ -434,7 +435,8 @@ export class Translator {
removeLoading(loadingId);
}
},
triggerCount
triggerCount,
triggerTime
);
};