fix: 隐藏alertMessahgeInfo dashboard chart的全屏显示
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<i class="nz-icon nz-icon-replay tool__icon"></i>
|
||||
</div>
|
||||
</span>
|
||||
<span v-if="from !== this.$CONSTANTS.fromRoute.chartTemp && chartInfo.type!=='group'" class="chart-header__tool" @click="showFullscreen">
|
||||
<span v-if="from !== this.$CONSTANTS.fromRoute.chartTemp && chartInfo.type!=='group' && showTool" class="chart-header__tool" @click="showFullscreen">
|
||||
<div :title="$t('dashboard.screen')" effect="light" placement="top">
|
||||
<i class="nz-icon nz-icon-maxview tool__icon"></i>
|
||||
</div>
|
||||
|
||||
@@ -118,8 +118,9 @@ export default {
|
||||
}
|
||||
})
|
||||
// && n.alertRule.dashboardId
|
||||
n.alertRule && (n.alertRule.dashboardId = 102224)
|
||||
if (n.alertRule && n.alertRule.dashboardId) {
|
||||
// n.alertRule.dashboardId = 1487
|
||||
//
|
||||
this.cardNames.push({
|
||||
key: 'dashboard',
|
||||
label: this.$t('overall.dashboard')
|
||||
|
||||
@@ -174,7 +174,9 @@ export default {
|
||||
this.getData(this.filter)
|
||||
}
|
||||
}
|
||||
if (this.urlType === 'template') {
|
||||
this.chartListLoading = false
|
||||
}
|
||||
}).catch((error) => {
|
||||
this.chartListLoading = false
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user