forked from github/dataease
Merge pull request #3116 from dataease/pr@dev@refactor_panel-empty-tips
refactor(仪表板): 优化仪表板为空的提示显示
This commit is contained in:
commit
daed174fda
@ -9,7 +9,7 @@
|
|||||||
<span>{{ $t('panel.panel_off') }}</span>
|
<span>{{ $t('panel.panel_off') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row v-else-if="componentDataShow.length===0" class="custom-position">
|
<el-row v-else-if="componentDataShow && componentDataShow.length===0" class="custom-position">
|
||||||
{{ $t('panel.panelNull') }}
|
{{ $t('panel.panelNull') }}
|
||||||
</el-row>
|
</el-row>
|
||||||
<div
|
<div
|
||||||
@ -163,7 +163,7 @@ export default {
|
|||||||
scaleWidth: '100',
|
scaleWidth: '100',
|
||||||
scaleHeight: '100',
|
scaleHeight: '100',
|
||||||
timer: null,
|
timer: null,
|
||||||
componentDataShow: [],
|
componentDataShow: null,
|
||||||
mainWidth: '100%',
|
mainWidth: '100%',
|
||||||
mainHeight: '100%',
|
mainHeight: '100%',
|
||||||
searchCount: 0,
|
searchCount: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user