fix: 去除无效代码

This commit is contained in:
@changcode
2023-01-18 11:53:21 +08:00
parent 04e186e7d8
commit 22bf16a01d
3 changed files with 1 additions and 13 deletions

View File

@@ -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