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