diff --git a/src/views/layout/components/headbar.vue b/src/views/layout/components/headbar.vue index c2166be..5685bab 100644 --- a/src/views/layout/components/headbar.vue +++ b/src/views/layout/components/headbar.vue @@ -153,7 +153,6 @@ import Breadcrumb from '@/components/Breadcrumb' import QuestTabs from '@/components/QuestTabs' import SelectionShopId from '@/components/SelectionShopId' import { speakText } from '@/utils/index' -import mqtt from '@/utils/mqtt' export default { name: 'Headbar', @@ -307,10 +306,6 @@ export default { this.$store.dispatch('fetchRouteList') // 获取航线列表 this.$store.dispatch('fetchCategoryList') // 获取分类列表(小程序) this.$store.dispatch('fetchPaidOrderList') // 获取订单列表 - /* 向飞发送 让飞控刷新各种请求 */ - this.$store.state.airList.forEach(item => { - mqtt.publishFun(`cmd/${item.macadd}`, '{"refreshRequest":1}') - }) }, /** * @description: 登出