瀏覽代碼

'修改空间item中data的属性字段为首字母大写'

zhangyu 4 年之前
父節點
當前提交
88a847eb22
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/items/SZoneLegendItem.ts

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

@@ -148,7 +148,7 @@ export class SZoneLegendItem extends SPolygonItem {
         this.data.Name = this.text;
         this.data.Properties.FillColor = this.FillColor.value;
         this.data.Properties.StrokeColor = this.strokeColor.value;
-        this.data.Properties.lineWidth = this.lineWidth;
+        this.data.Properties.LineWidth = this.lineWidth;
         this.data.OutLine = this.getPointList.map(pos => {
             return {
                 X: pos.x,