|
@@ -576,16 +576,6 @@ export default {
|
|
|
newval.itemType == "Line" ||
|
|
|
newval.itemType == "Image"
|
|
|
) {
|
|
|
- this.lengedName = Item.name;
|
|
|
- this.borderColor = Item.strokeColor ? Item.strokeColor.value : "";
|
|
|
- this.fillColor = Item.fillColor ? Item.fillColor.value : "";
|
|
|
- this.itemExplain = "";
|
|
|
- if (Item.data.Properties.ItemExplain) {
|
|
|
- this.itemExplain = Item.data.Properties.ItemExplain
|
|
|
- ? Item.data.Properties.ItemExplain
|
|
|
- : "";
|
|
|
- }
|
|
|
-
|
|
|
if (newval.itemType == "Image") {
|
|
|
this.imageNum = Item.num;
|
|
|
this.color = Item.color.value;
|
|
@@ -595,6 +585,18 @@ export default {
|
|
|
this.fillColor = Item.fillColor.value;
|
|
|
this.borderColor = Item.strokeColor.value;
|
|
|
this.lineWidth = Item.lineWidth;
|
|
|
+ } else if (newval.itemType == "Zone") {
|
|
|
+ this.lengedName = Item.name;
|
|
|
+ this.fontSize = Item.font.size;
|
|
|
+ this.fontColor = Item.color.value;
|
|
|
+ this.borderColor = Item.strokeColor ? Item.strokeColor.value : "";
|
|
|
+ this.fillColor = Item.fillColor ? Item.fillColor.value : "";
|
|
|
+ this.itemExplain = "";
|
|
|
+ if (Item.data.Properties.ItemExplain) {
|
|
|
+ this.itemExplain = Item.data.Properties.ItemExplain
|
|
|
+ ? Item.data.Properties.ItemExplain
|
|
|
+ : "";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|