src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue
@@ -13,6 +13,7 @@ import { reportLocationSearch } from '../../../../api/request' import { pulseEffect } from '../../../../utils/utils' import eventBus from '../../../../eventBus' export default { name: 'ReportLocationSearch', data () { @@ -58,8 +59,9 @@ // 点击确认按钮事件 confirm () { // 通过子组件向父组件传递数据 this.$emit('locationClick', this.LongLatPos) console.log('搜索定位') // this.$emit('locationClick', this.LongLatPos) eventBus.$emit('location-setChange', true) // console.log('搜索定位') } } }