!9 版本迭代,修复已知bug
From: @rabbitali Reviewed-by: @Lostwayzxc Signed-off-by: @Lostwayzxc
This commit is contained in:
commit
19accb01c7
@ -1,50 +0,0 @@
|
|||||||
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.1.tar.gz
Normal file
BIN
aops-hermes-v1.1.1.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,15 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: aops-hermes
|
Name: aops-hermes
|
||||||
Version: v1.1.0
|
Version: v1.1.1
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Web for an intelligent diagnose frame
|
Summary: Web for an intelligent diagnose frame
|
||||||
License: MulanPSL2
|
License: MulanPSL2
|
||||||
URL: https://gitee.com/openeuler/%{name}
|
URL: https://gitee.com/openeuler/%{name}
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source1: node-modules.tar.gz
|
Source1: node-modules.tar.gz
|
||||||
Patch0001: 0001-adjust-code-style.patch
|
|
||||||
Patch0002: 0002-fix-param-error-and-limit-of-length.patch
|
|
||||||
|
|
||||||
BuildRequires: nodejs node-gyp nodejs-yarn
|
BuildRequires: nodejs node-gyp nodejs-yarn
|
||||||
Requires: nginx
|
Requires: nginx
|
||||||
@ -20,7 +20,7 @@ Web for an intelligent diagnose frame
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version}
|
||||||
%setup -T -D -a 1
|
%setup -T -D -a 1
|
||||||
|
|
||||||
|
|
||||||
@ -44,6 +44,8 @@ cp -r deploy/aops-hermes.service %{buildroot}/usr/lib/systemd/system/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 02 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-1
|
||||||
|
- fix some bugs
|
||||||
* Sat Nov 26 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.0-3
|
* Sat Nov 26 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.0-3
|
||||||
- Fix param error and input limit of length
|
- Fix param error and input limit of length
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user