diff --git a/0001-adjust-code-style.patch b/0001-adjust-code-style.patch new file mode 100644 index 0000000..d4dca20 --- /dev/null +++ b/0001-adjust-code-style.patch @@ -0,0 +1,50 @@ +From 47b2eceee147086233b3055a6cd4ce5458d34c16 Mon Sep 17 00:00:00 2001 +From: gongzt +Date: Fri, 25 Nov 2022 19:34:06 +0800 +Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96createrepairtaskdraw?= + =?UTF-8?q?er=E4=BD=BF=E5=85=B6=E4=BB=A3=E7=A0=81=E9=A3=8E=E6=A0=BC?= + =?UTF-8?q?=E7=AC=A6=E5=90=88eslint?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + src/views/leaks/components/CreateRepairTaskDrawer.vue | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/views/leaks/components/CreateRepairTaskDrawer.vue b/src/views/leaks/components/CreateRepairTaskDrawer.vue +index 315d80b..574a6d8 100644 +--- a/src/views/leaks/components/CreateRepairTaskDrawer.vue ++++ b/src/views/leaks/components/CreateRepairTaskDrawer.vue +@@ -344,8 +344,8 @@ export default { + this.form.resetFields(); + }, + // 判断cve修复任务时是否有选择cve +- cveLiIsEmpty(){ +- if(this.cveList.length!==0){ ++ cveLiIsEmpty() { ++ if (this.cveList.length !== 0) { + return false + } + this.visible = false; +@@ -389,7 +389,7 @@ export default { + switch (this.hostListType) { + case hostListTypes[0]: + _this.hostUnderCveLoading = true; +- if(this.cveLiIsEmpty()){ ++ if (this.cveLiIsEmpty()) { + return + } + getHostUnderMultipleCVE({ +@@ -409,7 +409,7 @@ export default { + break; + case hostListTypes[1]: + case hostListTypes[2]: +- if(this.cveLiIsEmpty()){ ++ if (this.cveLiIsEmpty()) { + return + } + const tempObj2 = {}; +-- +Gitee + diff --git a/aops-hermes-v1.0.0.tar.gz b/aops-hermes-v1.0.0.tar.gz deleted file mode 100644 index 2ef8223..0000000 Binary files a/aops-hermes-v1.0.0.tar.gz and /dev/null differ diff --git a/aops-hermes-v1.1.0.tar.gz b/aops-hermes-v1.1.0.tar.gz new file mode 100644 index 0000000..693397e Binary files /dev/null and b/aops-hermes-v1.1.0.tar.gz differ diff --git a/aops-hermes.spec b/aops-hermes.spec index b096a19..fa4a693 100644 --- a/aops-hermes.spec +++ b/aops-hermes.spec @@ -1,13 +1,14 @@ %define debug_package %{nil} Name: aops-hermes -Version: v1.0.0 -Release: 1 +Version: v1.1.0 +Release: 2 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-adjust-code-style.patch BuildRequires: nodejs node-gyp nodejs-yarn @@ -19,7 +20,7 @@ Web for an intelligent diagnose frame %prep -%autosetup -n %{name}-%{version} +%autosetup -n %{name}-%{version} -p1 %setup -T -D -a 1 @@ -43,5 +44,11 @@ cp -r deploy/aops-hermes.service %{buildroot}/usr/lib/systemd/system/ %changelog +* Fri Nov 25 2022 wenxin - v1.1.0-2 +- Adjust the code style + +* Fri Nov 25 2022 wenxin - v1.1.0-1 +- Fix the bug of cve vulnerability management module + * Tue Nov 22 2022 zhuyuncheng - v1.0.0-1 - Package init diff --git a/node-modules.tar.gz b/node-modules.tar.gz index 9cfa829..5fabe99 100644 Binary files a/node-modules.tar.gz and b/node-modules.tar.gz differ