【类 型】:factor

【主	题】:刷新按钮
【描	述】:
	[原因]:不刷新页面 移动端不支持
	[过程]:改为刷新求情列表
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-07-12 19:35:52 +08:00
parent 015486c544
commit 7b350c154a

View File

@ -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: 登出