aops-hermes/0001-adjust-code-style.patch

51 lines
1.7 KiB
Diff
Raw Normal View History

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