【类 型】:factor
【主 题】:刷新按钮 【描 述】: [原因]:不刷新页面 移动端不支持 [过程]:改为刷新求情列表 [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
015486c544
commit
7b350c154a
@ -89,7 +89,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import mqtt from '@/utils/mqtt'
|
||||
import Breadcrumb from '@/components/Breadcrumb'
|
||||
import QuestTabs from '@/components/QuestTabs'
|
||||
import SelectionShopId from '@/components/SelectionShopId'
|
||||
@ -217,8 +216,15 @@ export default {
|
||||
* @description: 刷新当前页面
|
||||
*/
|
||||
refreshPage () {
|
||||
mqtt.mqttDestroy()// 断开mqtt
|
||||
window.location.reload() // 刷新页面
|
||||
/* init */
|
||||
this.$store.commit('app/setIsMobile')// 获取客户端平台类型
|
||||
this.$store.dispatch('fetchAirList')// 获取飞机列表
|
||||
this.$store.dispatch('fetchShopList')// 获取商铺列表
|
||||
this.$store.dispatch('fetchAdminList')// 获取管理员列表
|
||||
this.$store.dispatch('fetchSiteList')// 获取站点列表
|
||||
this.$store.dispatch('fetchRouteList')// 获取航线列表
|
||||
this.$store.dispatch('fetchCategoryList')// 获取分类列表(小程序)
|
||||
this.$store.dispatch('fetchPaidOrderList')// 获取订单列表
|
||||
},
|
||||
/**
|
||||
* @description: 登出
|
||||
|
Loading…
Reference in New Issue
Block a user