mirror of
https://github.com/dataease/dataease.git
synced 2026-06-18 05:18:07 +08:00
style: 优化仪表板数据大屏loading样式 (#17873)
This commit is contained in:
@@ -319,10 +319,18 @@ defineExpose({
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="hasTreeData && mounted">
|
||||
<empty-background :description="t('visualization.preview_select_tips')" img-type="select" />
|
||||
<empty-background
|
||||
v-if="dataInitState"
|
||||
:description="t('visualization.preview_select_tips')"
|
||||
img-type="select"
|
||||
/>
|
||||
</template>
|
||||
<template v-else-if="mounted">
|
||||
<empty-background :description="t('visualization.have_none_resource')" img-type="none">
|
||||
<empty-background
|
||||
v-if="dataInitState"
|
||||
:description="t('visualization.have_none_resource')"
|
||||
img-type="none"
|
||||
>
|
||||
<el-button v-if="rootManage && !isDataEaseBi" @click="createNew" type="primary">
|
||||
<template #icon>
|
||||
<Icon name="icon_add_outlined"><icon_add_outlined class="svg-icon" /></Icon>
|
||||
|
||||
@@ -306,10 +306,18 @@ onBeforeMount(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="hasTreeData && mounted">
|
||||
<empty-background :description="t('visualization.select_screen_tips')" img-type="select" />
|
||||
<empty-background
|
||||
v-if="dataInitState"
|
||||
:description="t('visualization.select_screen_tips')"
|
||||
img-type="select"
|
||||
/>
|
||||
</template>
|
||||
<template v-else-if="mounted">
|
||||
<empty-background :description="t('visualization.no_screen')" img-type="none">
|
||||
<empty-background
|
||||
v-if="dataInitState"
|
||||
:description="t('visualization.no_screen')"
|
||||
img-type="none"
|
||||
>
|
||||
<el-button v-if="rootManage && !isDataEaseBi" @click="createNew" type="primary">
|
||||
<template #icon>
|
||||
<Icon name="icon_add_outlined"><icon_add_outlined class="svg-icon" /></Icon>
|
||||
|
||||
Reference in New Issue
Block a user