修复get.bordergroup传入字符串写法失效的bug
This commit is contained in:
parent
f5c34383e1
commit
00ced85c5e
|
@ -645,6 +645,7 @@ export class Get {
|
||||||
return "暂无武将介绍";
|
return "暂无武将介绍";
|
||||||
}
|
}
|
||||||
bordergroup(info, raw) {
|
bordergroup(info, raw) {
|
||||||
|
if(typeof info == 'string') info = get.character(info);
|
||||||
if(info.groupBorder) return info.groupBorder;
|
if(info.groupBorder) return info.groupBorder;
|
||||||
return raw ? "" : info.group || "";
|
return raw ? "" : info.group || "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue