|
@@ -36,29 +36,23 @@ export default {
|
|
|
fillColor: "#F0F3F7",
|
|
|
lineWidth: 1,
|
|
|
effect: {},
|
|
|
- },
|
|
|
- selected: {
|
|
|
- strokeColor: "#000000",
|
|
|
- fillColor: "#ff0000",
|
|
|
- lineWidth: 100,
|
|
|
- effect: {},
|
|
|
- },
|
|
|
- disabled: {
|
|
|
- strokeColor: "#2b2b2b",
|
|
|
- fillColor: "#afafaf",
|
|
|
- lineWidth: 1,
|
|
|
- effect: {},
|
|
|
- },
|
|
|
- highlight: {
|
|
|
- strokeColor: "#2b2b2b",
|
|
|
- fillColor: "#fbb029",
|
|
|
- lineWidth: 1,
|
|
|
- effect: {},
|
|
|
- },
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
required: false,
|
|
|
},
|
|
|
+ // 设备默认样式
|
|
|
+ defaultEquipStyle: {
|
|
|
+ type: Object,
|
|
|
+ default: () =>{
|
|
|
+ return {
|
|
|
+ color: "#1F2429",
|
|
|
+ size: 12,
|
|
|
+ url: "tognyong2020102700.svg",
|
|
|
+ formula: "",
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|