fix: 去除无效代码
This commit is contained in:
@@ -552,7 +552,7 @@ export default {
|
||||
queryCondition.push('common_l7_protocol=\'' + valueGroup[0] + '\'')
|
||||
queryCondition.push('common_server_port=' + valueGroup[1])
|
||||
}
|
||||
console.log(queryCondition.join(' AND '))
|
||||
// console.log(queryCondition.join(' AND '))
|
||||
this.urlChangeParams[this.curTabState.queryCondition] = queryCondition.join(' AND ')
|
||||
} else {
|
||||
searchProps.forEach(item => {
|
||||
|
||||
@@ -152,7 +152,6 @@ export default {
|
||||
searcherApp: '',
|
||||
// 选中的app,不区分app和provider
|
||||
toSaveApp: [],
|
||||
appShowType: 'bytes',
|
||||
pageObj: { // 分页对象
|
||||
pageNo: 1,
|
||||
pageSize: 24,
|
||||
@@ -298,16 +297,6 @@ export default {
|
||||
this.toggleLoading(false)
|
||||
})
|
||||
},
|
||||
metricChange (value) {
|
||||
if (value === 'Bits/s') {
|
||||
this.appShowType = 'bytes'
|
||||
} else if (value === 'Packets/s') {
|
||||
this.appShowType = 'packets'
|
||||
} else if (value === 'Sessions/s') {
|
||||
this.appShowType = 'sessions'
|
||||
}
|
||||
this.init()
|
||||
},
|
||||
getUrlParam (param, defaultValue, isNumber) {
|
||||
if (isNumber) {
|
||||
return this.$route.query[param] ? Number(this.$route.query[param]) : defaultValue
|
||||
|
||||
@@ -61,7 +61,6 @@ export default {
|
||||
methods: {
|
||||
init () {
|
||||
const params = {
|
||||
// startTime: true,
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user