소스 검색

修改名称

haojianlong 4 년 전
부모
커밋
10ce4fae37
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      src/lib/items/SFHFQZoneLegendItem.js
  2. 1 1
      src/lib/items/SFHFQZoneLegendItem.ts
  3. 1 1
      src/lib/items/SSCPZZoneLegendItem.js
  4. 1 1
      src/lib/items/SSCPZZoneLegendItem.ts

+ 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