haojianlong 4 سال پیش
والد
کامیت
10ce4fae37

+ 1 - 1
src/lib/items/SFHFQZoneLegendItem.js

@@ -153,7 +153,7 @@ export class SFHFQZoneLegendItem extends SPolygonItem {
     }
     toData() {
         this.data.Pos = { X: this.x, Y: this.y }
-        this.data.Name = this.text
+        this.data.Name = this.name
         this.data.Properties.FillColor = this.fillColor.value
         this.data.Properties.StrokeColor = this.strokeColor.value
         this.data.Properties.LineWidth = this.lineWidth

+ 1 - 1
src/lib/items/SFHFQZoneLegendItem.ts

@@ -175,7 +175,7 @@ export class SFHFQZoneLegendItem extends SPolygonItem {
 
     toData(): any {
         this.data.Pos = { X: this.x, Y: this.y }
-        this.data.Name = this.text
+        this.data.Name = this.name
         this.data.Properties.FillColor = this.fillColor.value
         this.data.Properties.StrokeColor = this.strokeColor.value
         this.data.Properties.LineWidth = this.lineWidth

+ 1 - 1
src/lib/items/SSCPZZoneLegendItem.js

@@ -160,7 +160,7 @@ export class SSCPZZoneLegendItem extends SPolygonItem {
     }
     toData() {
         this.data.Pos = { X: this.x, Y: this.y }
-        this.data.Name = this.text
+        this.data.Name = this.name
         this.data.Properties.FillColor = this.fillColor.value
         this.data.Properties.StrokeColor = this.strokeColor.value
         this.data.Properties.LineWidth = this.lineWidth

+ 1 - 1
src/lib/items/SSCPZZoneLegendItem.ts

@@ -183,7 +183,7 @@ export class SSCPZZoneLegendItem extends SPolygonItem {
 
     toData(): any {
         this.data.Pos = { X: this.x, Y: this.y }
-        this.data.Name = this.text
+        this.data.Name = this.name
         this.data.Properties.FillColor = this.fillColor.value
         this.data.Properties.StrokeColor = this.strokeColor.value
         this.data.Properties.LineWidth = this.lineWidth