|
@@ -12,6 +12,7 @@ import { SFloorParser } from '@saga-web/big'
|
|
|
import { FloorView } from './../lib/FloorView'
|
|
|
import { EditScence } from './mapClass/EditScence'
|
|
|
import bus from '@/bus'
|
|
|
+import bus2 from '@/bus2'
|
|
|
import { saveGroup, readGroup, queryTypeGraph, publishGraph } from '@/api/editer.js'
|
|
|
import { STopologyParser } from './../lib/parsers/STopologyParser'
|
|
|
import { uuid } from '@/components/mapClass/until'
|
|
@@ -66,7 +67,6 @@ export default {
|
|
|
// 挂在bus
|
|
|
this.getBus()
|
|
|
store.dispatch('getElementType', { PageSize: 1000 })
|
|
|
- window.vm = this
|
|
|
},
|
|
|
methods: {
|
|
|
init() {
|
|
@@ -402,7 +402,7 @@ export default {
|
|
|
console.log('itemMsg', itemMsg)
|
|
|
this.chiceItemList = itemMsg.itemList
|
|
|
this.$emit('changeFocusItem', itemMsg)
|
|
|
- bus.$emit('FocusItemChanged', itemMsg)
|
|
|
+ bus2.$emit('FocusItemChanged', itemMsg)
|
|
|
},
|
|
|
// 监听场景元素数据变化
|
|
|
scenceUpdate(scence) {
|