feat: panel、chart增加一些参数

This commit is contained in:
chenjinsong
2022-07-22 18:09:18 +08:00
parent c64adbdd8d
commit 232158378b
3 changed files with 11 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
<template v-if="panelType === panelTypeAndRouteMapping.networkAppPerformance">
<chart
v-if="item.type === typeMapping.npm.npmTabs || item.params.tabIndex === npmTabIndex"
:time-filter="timeFilter"
:id="item.id"
:chart="item"
@npmTabChange="npmTabChange"
@@ -30,6 +31,8 @@
</template>
<chart
v-else
:time-filter="timeFilter"
:extra-params="extraParams"
:id="item.id"
:chart="item"
></chart>
@@ -51,7 +54,8 @@ export default {
panelType: Number,
chartList: Array,
panelLock: Boolean,
entity: Object
entity: Object,
extraParams: Object
},
data () {
return {