@@ -23,7 +23,7 @@
"@saga-web/cad-engine": "2.0.548",
"@saga-web/draw": "2.1.75",
"@saga-web/graphy": "2.1.42",
- "@saga-web/topology": "1.0.10",
+ "@saga-web/topology": "1.0.41",
"axios": "^0.18.0",
"echarts": "^4.1.0",
"el-cascader-multi": "^1.1.8",
@@ -83,17 +83,18 @@ export default {
let equipdata = {
ID: this.uuid(),
Size: {
- Width: 200,
- Height: 100
+ Width: 100,
+ Height: 50
},
- AnchorList: [{ Pos: { X: 0, Y: 0 }, FaceType: 0 }]
+ Pos:{},
+ AnchorList: [{ FaceType: 0, Pos: {} }, { FaceType: 1, Pos: {} }, { FaceType: 2, Pos: {} }, { FaceType: 3, Pos: {} }]
}
this.scene.createItem(equipdata)
this.scene.grabItem.moveable = true
console.log(this.scene)
console.log(this.view)
- drawline(){
+ drawline() {
this.scene.isLining = true;
uuid(len, radix) {