Showing
1 changed file
with
0 additions
and
4 deletions
| ... | ... | @@ -196,7 +196,6 @@ import fTabbar from '@/components/module/f-tabbar/f-tabbar'; | 
| 196 | 196 | import MescrollMixin from '@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js'; | 
| 197 | 197 | import { pageNumber, pageSize } from '@/config/constant.js'; | 
| 198 | 198 | import { alertStatus, deviceType, alertLevel, timeArea } from './static/data.js'; | 
| 199 | -import { mapActions } from 'vuex'; | |
| 200 | 199 | |
| 201 | 200 | export default { | 
| 202 | 201 | mixins: [MescrollMixin], // 使用mixin (在main.js注册全局组件) | 
| ... | ... | @@ -271,7 +270,6 @@ export default { | 
| 271 | 270 | } | 
| 272 | 271 | }, | 
| 273 | 272 | methods: { | 
| 274 | - ...mapActions(['updateBadgeTotal']), | |
| 275 | 273 | inputChanged(e) { | 
| 276 | 274 | this.loadData(1, null, null, null, null, null, null, e); | 
| 277 | 275 | }, | 
| ... | ... | @@ -375,8 +373,6 @@ export default { | 
| 375 | 373 | .then(res => { | 
| 376 | 374 | uni.stopPullDownRefresh(); | 
| 377 | 375 | this.mescroll.endByPage(res.items.length, res.total); | 
| 378 | - //异步实时更新告警徽标数 | |
| 379 | - this.updateBadgeTotal(res.total); | |
| 380 | 376 | this.alertTotal = res.total; | 
| 381 | 377 | if (pageNo == 1) { | 
| 382 | 378 | this.list = res.items; | ... | ... |