fix: 修复导入axios依赖携带版本的问题
This commit is contained in:
@@ -112,7 +112,7 @@
|
|||||||
import { detectionRuleType } from '@/utils/constants'
|
import { detectionRuleType } from '@/utils/constants'
|
||||||
import { switchStatus } from '@/utils/tools'
|
import { switchStatus } from '@/utils/tools'
|
||||||
import { detectionUnitList } from '@/utils/static-data'
|
import { detectionUnitList } from '@/utils/static-data'
|
||||||
import axios from '_axios@0.21.4@axios'
|
import axios from 'axios'
|
||||||
import { api } from '@/utils/api'
|
import { api } from '@/utils/api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -217,7 +217,7 @@
|
|||||||
import HistoryTopKeys from '@/components/table/detection/HistoryTopKeys'
|
import HistoryTopKeys from '@/components/table/detection/HistoryTopKeys'
|
||||||
import { eventSeverityColor, detectionRuleType } from '@/utils/constants'
|
import { eventSeverityColor, detectionRuleType } from '@/utils/constants'
|
||||||
import { detectionUnitList } from '@/utils/static-data'
|
import { detectionUnitList } from '@/utils/static-data'
|
||||||
import axios from '_axios@0.21.4@axios'
|
import axios from 'axios'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import { api } from '@/utils/api'
|
import { api } from '@/utils/api'
|
||||||
|
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ export default {
|
|||||||
list.forEach(t => {
|
list.forEach(t => {
|
||||||
this.activeNames.push(t)
|
this.activeNames.push(t)
|
||||||
})
|
})
|
||||||
this.$message.error('请确保信息填写完整')
|
this.$message.error(this.$t('detection.create.informationFilled'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user