fix: calculate widget index and init metrics config (#41)

This commit is contained in:
Fine0830
2022-03-27 23:45:28 +08:00
committed by GitHub
parent d733594804
commit 2167b4afd5
6 changed files with 16 additions and 14 deletions

View File

@@ -17,9 +17,6 @@ limitations under the License. -->
<div class="graph" v-loading="loading">
<div class="header">
<span>{{ dashboardStore.selectedGrid.widget.title }}</span>
<span v-show="dashboardStore.selectedGrid.standard.unit" class="unit">
({{ dashboardStore.selectedGrid.standard.unit }})
</span>
<div class="tips" v-show="dashboardStore.selectedGrid.widget.tips">
<el-tooltip :content="dashboardStore.selectedGrid.widget.tips">
<Icon iconName="info_outline" size="sm" />