Fix the bug of cve vulnerability management module
This commit is contained in:
parent
249baab89e
commit
2bd3038bc7
50
0001-adjust-code-style.patch
Normal file
50
0001-adjust-code-style.patch
Normal file
@ -0,0 +1,50 @@
|
||||
From 47b2eceee147086233b3055a6cd4ce5458d34c16 Mon Sep 17 00:00:00 2001
|
||||
From: gongzt <gong_zhengtang@163.com>
|
||||
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
|
||||
|
||||
Binary file not shown.
BIN
aops-hermes-v1.1.0.tar.gz
Normal file
BIN
aops-hermes-v1.1.0.tar.gz
Normal file
Binary file not shown.
@ -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<shusheng.wen@outlook.com> - v1.1.0-2
|
||||
- Adjust the code style
|
||||
|
||||
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1
|
||||
- Fix the bug of cve vulnerability management module
|
||||
|
||||
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
|
||||
- Package init
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user