From 0a9d5591d5e8783e52c2def39205172b8889336e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 16 Oct 2023 18:13:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=85=A5axio?= =?UTF-8?q?s=E4=BE=9D=E8=B5=96=E6=90=BA=E5=B8=A6=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/detection/GeneralSettings.vue | 2 +- src/components/table/detection/RuleDefinition.vue | 2 +- src/views/detectionsNew/DetectionForm.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/table/detection/GeneralSettings.vue b/src/components/table/detection/GeneralSettings.vue index 8b5638cf..3a9732fa 100644 --- a/src/components/table/detection/GeneralSettings.vue +++ b/src/components/table/detection/GeneralSettings.vue @@ -112,7 +112,7 @@ import { detectionRuleType } from '@/utils/constants' import { switchStatus } from '@/utils/tools' import { detectionUnitList } from '@/utils/static-data' -import axios from '_axios@0.21.4@axios' +import axios from 'axios' import { api } from '@/utils/api' export default { diff --git a/src/components/table/detection/RuleDefinition.vue b/src/components/table/detection/RuleDefinition.vue index 53671249..75bed92e 100644 --- a/src/components/table/detection/RuleDefinition.vue +++ b/src/components/table/detection/RuleDefinition.vue @@ -217,7 +217,7 @@ import HistoryTopKeys from '@/components/table/detection/HistoryTopKeys' import { eventSeverityColor, detectionRuleType } from '@/utils/constants' import { detectionUnitList } from '@/utils/static-data' -import axios from '_axios@0.21.4@axios' +import axios from 'axios' import _ from 'lodash' import { api } from '@/utils/api' diff --git a/src/views/detectionsNew/DetectionForm.vue b/src/views/detectionsNew/DetectionForm.vue index 8f6ce2a5..6a1522a6 100644 --- a/src/views/detectionsNew/DetectionForm.vue +++ b/src/views/detectionsNew/DetectionForm.vue @@ -331,7 +331,7 @@ export default { list.forEach(t => { this.activeNames.push(t) }) - this.$message.error('请确保信息填写完整') + this.$message.error(this.$t('detection.create.informationFilled')) } } }