Fix the bug that the total number of alarms is not synchronously refreshed

This commit is contained in:
wenxin 2022-12-13 16:22:46 +08:00
parent 935fce3b42
commit 6ed74a124f
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From ba2cedb6dced8f685a78ecac5c00eaa8fc02c873 Mon Sep 17 00:00:00 2001
From: wkl505997900 <505997900@qq.com>
Date: Tue, 13 Dec 2022 11:58:46 +0800
Subject: [PATCH] xiugaiwenti2
---
src/views/diagnosis/AbnormalAlert.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/diagnosis/AbnormalAlert.vue b/src/views/diagnosis/AbnormalAlert.vue
index 5db86e0..216e1c6 100644
--- a/src/views/diagnosis/AbnormalAlert.vue
+++ b/src/views/diagnosis/AbnormalAlert.vue
@@ -195,6 +195,7 @@ export default {
this.pagination = pagination;
this.filters = filters;
this.sorter = sorter;
+ store.dispatch('updateCount');
this.getAlertRecordResult();
},
getDomainFilters() {
--
Gitee

View File

@ -2,13 +2,14 @@
Name: aops-hermes
Version: v1.1.2
Release: 2
Release: 3
Summary: Web for an intelligent diagnose frame
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
Source1: node-modules.tar.gz
Patch0001: 0001-some-bugfix-for-diana-website.patch
Patch0002: 0002-bugfix-alarm-number-not-update-synchronously.patch
BuildRequires: nodejs node-gyp nodejs-yarn
@ -44,6 +45,9 @@ cp -r deploy/aops-hermes.service %{buildroot}/usr/lib/systemd/system/
%changelog
* Tue Dec 13 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-3
- Fix the bug that the total number of alarms is not synchronously refreshed
* Mon Dec 12 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.1.2-2
- fix some bugs in diana website