修复右键武将弹窗的bug

This commit is contained in:
lieren2023 2024-02-03 16:22:03 +08:00 committed by GitHub
parent d9022bb482
commit c3b042a956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -3616,8 +3616,10 @@ export class Get extends Uninstantable {
if (!lib.characterInitFilter[node.link]) return true;
return lib.characterInitFilter[node.link](tag) !== false;
});
const str = initFilters.reduce((strx, stry) => strx + lib.InitFilter[stry] + '<br>', '').slice(0, -4);
uiintro.addText(str);
if(initFilters.length){
const str = initFilters.reduce((strx, stry) => strx + lib.InitFilter[stry] + '<br>', '').slice(0, -4);
uiintro.addText(str);
}
}
if (node._banning) {