Browse Source

change 区域title

18339543638 4 years ago
parent
commit
0b36811350

+ 8 - 0
jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/entity/GeoRegionEntity.java

@@ -39,6 +39,14 @@ public  class GeoRegionEntity extends  GenericTreeSortSupportEntity<String> {
     public String getTitle(){
         return this.name;
     }
+
+    public String getKey(){
+        return this.name;
+    }
+
+    public String getValue(){
+        return this.getId();
+    }
     @Override
     public List<GeoRegionEntity> getChildren() {
         return children;