【类 型】:fix topbar刷新按钮 遍历所有飞机 向所有飞机发刷新请求
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
f98d53769e
commit
fddaf967da
@ -22,7 +22,7 @@ const store = new Vuex.Store({
|
|||||||
skuList: [], // 商品sku列表
|
skuList: [], // 商品sku列表
|
||||||
paidOrderList: [], // 已付款 订单列表
|
paidOrderList: [], // 已付款 订单列表
|
||||||
logList: [], // 操作日志列表
|
logList: [], // 操作日志列表
|
||||||
crosFrequency: null // 对频macadd
|
crosFrequency: null// 对频macadd
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
/**
|
/**
|
||||||
|
@ -316,7 +316,9 @@ export default {
|
|||||||
this.$store.dispatch('fetchCategoryList') // 获取分类列表(小程序)
|
this.$store.dispatch('fetchCategoryList') // 获取分类列表(小程序)
|
||||||
this.$store.dispatch('fetchPaidOrderList') // 获取订单列表
|
this.$store.dispatch('fetchPaidOrderList') // 获取订单列表
|
||||||
/* 向飞发送 让飞控刷新各种请求 */
|
/* 向飞发送 让飞控刷新各种请求 */
|
||||||
mqtt.publishFun(`cmd/${this.plane.macadd}`, '{"refreshRequest":1}')
|
this.$store.state.airList.forEach(item => {
|
||||||
|
mqtt.publishFun(`cmd/${item.macadd}`, '{"refreshRequest":1}')
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* @description: 登出
|
* @description: 登出
|
||||||
|
Loading…
Reference in New Issue
Block a user