|
@@ -851,6 +851,7 @@ export default {
|
|
|
strokeWeight: 2, // 轮廓宽度
|
|
|
strokeOpacity: 0.8, // 轮廓透明度
|
|
|
text: obj.text,
|
|
|
+ estateObj: obj.estateObj || {}
|
|
|
})
|
|
|
that.polygons = [...polygons]
|
|
|
mouseTool.close(true)
|
|
@@ -1001,7 +1002,7 @@ export default {
|
|
|
tempData[index].fillOpacity = obj.fillOpacity
|
|
|
tempData[index].strokeColor = obj.strokeColor
|
|
|
tempData[index].strokeStyle = obj.strokeStyle
|
|
|
- tempData[index].estateObj = obj.estateObj
|
|
|
+ tempData[index].estateObj = obj.estateObj || {}
|
|
|
}
|
|
|
this[str] = [...tempData]
|
|
|
this.$storage(`map_${str}`, JSON.stringify(tempData))
|