提交 f3481e63 authored 作者: Whispa's avatar Whispa

commit

上级 a1767139
...@@ -199,10 +199,14 @@ public class TbCfCategory { ...@@ -199,10 +199,14 @@ public class TbCfCategory {
return 7; return 7;
case "XXXL": case "XXXL":
return 8; return 8;
default: default: {
if( str.contains("XL") ){
return 9;
}
return str.matches(".*\\d.*") ? nextInt(str) : 9; return str.matches(".*\\d.*") ? nextInt(str) : 9;
} }
} }
}
private int nextInt(String str){ private int nextInt(String str){
try { try {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论