|
@@ -159,7 +159,12 @@ export default {
|
|
this.scene.createItem(equipdata);
|
|
this.scene.createItem(equipdata);
|
|
},
|
|
},
|
|
drawline() {
|
|
drawline() {
|
|
- this.scene.isLining = !this.scene.isLining;
|
|
|
|
|
|
+ if (this.scene.lineType) {
|
|
|
|
+ this.scene.lineType = 0;
|
|
|
|
+ console.log('change')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ this.scene.lineType = 1;
|
|
},
|
|
},
|
|
// 清除默认左右键事件
|
|
// 清除默认左右键事件
|
|
disableRightButton() {
|
|
disableRightButton() {
|
|
@@ -302,8 +307,8 @@ export default {
|
|
topoQuery({ type: 'eq2sp_for' }, res => {
|
|
topoQuery({ type: 'eq2sp_for' }, res => {
|
|
console.log(res.Content[0])
|
|
console.log(res.Content[0])
|
|
// this.scene.loadData({
|
|
// this.scene.loadData({
|
|
- // equipList: res.Content[0].NodeList,
|
|
|
|
- // relationList: res.Content[0].RelationList,
|
|
|
|
|
|
+ // equipList: res.Content[0].NodeList,
|
|
|
|
+ // relationList: res.Content[0].RelationList,
|
|
// })
|
|
// })
|
|
// this.view.fitSceneToView()
|
|
// this.view.fitSceneToView()
|
|
})
|
|
})
|