Merge pull request #12446 from dataease/pr@dev-v2_st

fix(嵌入式): 图表、仪表板、数据大屏将资源id放出来
This commit is contained in:
dataeaseShu 2024-09-25 16:06:56 +08:00 committed by GitHub
commit c04b79d783
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -1766,9 +1766,7 @@ const deleteChartFieldItem = id => {
</div>
<el-popover show-arrow :offset="8" placement="bottom" width="200" trigger="click">
<template #reference>
<el-icon
v-show="route.path !== '/dvCanvas'"
style="margin-left: 4px; cursor: pointer"
<el-icon style="margin-left: 4px; cursor: pointer"
><Icon><dvInfoSvg class="svg-icon" /></Icon
></el-icon>
</template>

View File

@ -1,7 +1,7 @@
<template>
<div class="info-card">
<div v-if="dvInfo.type === 'dashboard'" class="info-title">仪表板ID</div>
<div v-if="dvInfo.type === 'dashboard'" class="info-content">{{ dvInfo.id }}</div>
<div class="info-title">图表ID</div>
<div class="info-content">{{ dvInfo.id }}</div>
<div v-if="dvInfo.creatorName" class="info-title">{{ t('visualization.create_by') }}</div>
<div v-if="dvInfo.creatorName" class="info-content">{{ dvInfo.creatorName }}</div>
<div class="info-title">{{ t('visualization.create_time') }}</div>