fix: 消除loose警告
This commit is contained in:
@@ -12,7 +12,8 @@ module.exports = {
|
||||
],
|
||||
plugins: [
|
||||
'@vue/babel-plugin-jsx',
|
||||
'@babel/proposal-class-properties',
|
||||
['@babel/proposal-class-properties', { loose: true }],
|
||||
['@babel/plugin-proposal-private-methods', { loose: true }],
|
||||
'@babel/transform-runtime',
|
||||
'lodash'
|
||||
],
|
||||
|
||||
@@ -143,6 +143,7 @@ export const chartTableColumnMapping = {
|
||||
dnsLatency: 'dns.averageResolveLatency',
|
||||
responseFailRate: 'dns.responseFailureRate'
|
||||
}
|
||||
export const chartTableOrderOptionsMapping = {}
|
||||
export const chartPieTableTopOptions = [
|
||||
{ name: 'Sessions', value: 'sessions' },
|
||||
{ name: 'Packets', value: 'packets' },
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import unitConvert from '@/utils/unit-convert'
|
||||
import { unitTypes } from '@/utils/constants'
|
||||
import { unitTypes, chartColor } from '@/utils/constants'
|
||||
import {
|
||||
categoryVerticalFormatter,
|
||||
chartColor,
|
||||
getCharBartColor,
|
||||
timeVerticalFormatter,
|
||||
tooLongFormatter
|
||||
timeVerticalFormatter
|
||||
} from '@/views/charts/charts/tools'
|
||||
|
||||
export const ipOpenPortBar = {
|
||||
|
||||
Reference in New Issue
Block a user