fix(仪表板): 修复网页组件在画布左上角时过滤组件和其他组件拖入仪表板事件被覆盖问题
This commit is contained in:
parent
c57861c602
commit
1e3350dab0
@ -22,6 +22,7 @@
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
import bus from '@/utils/bus'
|
||||
import eventBus from '@/components/canvas/utils/eventBus'
|
||||
export default {
|
||||
name: 'DeFrame',
|
||||
props: {
|
||||
@ -68,6 +69,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
bus.$on('frameLinksChange-' + this.element.id, this.frameLinksChange)
|
||||
eventBus.$on('startMoveIn',this.frameLinksChange)
|
||||
},
|
||||
beforeDestroy() {
|
||||
bus.$off('frameLinksChange-' + this.element.id, this.frameLinksChange)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user