diff --git a/0002-bugfix-alarm-number-not-update-synchronously.patch b/0002-bugfix-alarm-number-not-update-synchronously.patch new file mode 100644 index 0000000..13c3b55 --- /dev/null +++ b/0002-bugfix-alarm-number-not-update-synchronously.patch @@ -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 + diff --git a/aops-hermes.spec b/aops-hermes.spec index 0ac8328..1f0725a 100644 --- a/aops-hermes.spec +++ b/aops-hermes.spec @@ -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 - v1.1.2-3 +- Fix the bug that the total number of alarms is not synchronously refreshed + * Mon Dec 12 2022 zhuyuncheng - v1.1.2-2 - fix some bugs in diana website