sdk:屏蔽词库加载处修改

This commit is contained in:
luying
2021-11-19 14:48:32 +08:00
parent 015a3a311d
commit f57e7682a1
4 changed files with 13 additions and 8 deletions
@@ -35,7 +35,6 @@ export class ChatRemote {
constructor(private app: Application) {
this.app = app;
this.channelService = app.get('channelService');
getTire();
}
private channelService: ChannelService;
+1
View File
@@ -208,6 +208,7 @@ export async function fetch37Words() {
}
export async function getTire() {
console.log('**********getTire')
let trie = pinus.app.get('tire');
if(!trie) {
let blockWords = readWordTxt(FILENAME.FILTER_WORDS);