【类 型】:fix 刷新飞机列表 在主入口watch时 进行了更新请求
【原 因】:再此请求 多余 【过 程】:删除刷新按钮得 刷新飞控获取参数请求 【影 响】:
This commit is contained in:
parent
a7aeb59675
commit
a4bdba19b0
@ -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: 登出
|
||||
|
Loading…
Reference in New Issue
Block a user