|
@@ -77,6 +77,7 @@ export class tools {
|
|
|
}
|
|
|
|
|
|
public static substringRankRegionName(node:Node,string:string) {
|
|
|
+ if(string==undefined||string==null) { return "" }
|
|
|
let lab_component = node.getComponent(Label)
|
|
|
if(lab_component==null) { return }
|
|
|
if(string.length>4) {
|